magento

How is Magento when it comes to adding custom functionality?

hi, How is working with Magento when it comes to adding custom functionality? From an outsiders view the framework looks very complicated and it's hard to gage what is and is not possible. What are your experiences? Is it a difficult framework to get it to do what you want? Are there things that simply cannot be customized in Magent...

Magento images not showing on front end

I'm using Magento 1.4. I have two website set up. If I upload images to Website A, they appear fine on both front and back end. If I upload or import images to Website B, they do not appear on the front end, only the backend. I'm completely stuck. I'm happy to provide any additional details that may be helpful, but am so frustrated I'm n...

Magento layout without category image

hi, i want to remove a category image from a content section and let the subcategorys be displayed with their category images in a small: http://magento.hamburg-eyewear.de/index.php/eyeglasses.html the top category should be removed and the two subcategory underneath should be small images. how can i fo that? thank & regards. ...

How do I get only the selected products from an order object?

I am getting the order information after the checkout process is finished and I saw something that is strange for me. I use : $orderItems = $order->getAllItems(); and for configurable products I get the Parent Tshirt for example and the Selected Medium Tshirt. So I get 2 items instead of 1. How do I get only the selected products fr...

Magento: Fixed shipping cost BELOW certain basket price.

How can I set the shipping cost for Magento for all baskets that are below a certain point. Eg all baskets under £5 have fixed shipping of £1.99. Thanks. ...

How to rewrite Collection?

Hi, I would like to rewrite the collection that is returned by Mage::getResourceModel('sales/order_collection'); My goal is to rewrite this resource so that i can filter out the collection for particular Store. Any ideas on how to do it? I tried directly rewrite collection of the sales/order module but no success. I was able to rewri...

Filter collection by attribute Set

Hi, How would one filter collection by attribute set name I am trying as following, but its not working $collection->addAttributeToFilter('attribute_set_name',"Quantity Television Parts"); Thank You ...

Interspire to Magento migration

Hello, I recently started with Magento and decided to migrate Interspire shopping cart I already made time ago to it. At first look Magento seems a very huge beast - lots of options, maybe lack of simplicity resulting in some performance loss. I've got user guide from which I am not getting much of benefit since there're just description...

Obfuscating a Magento module

I've been asked to protect a Magento module through obfuscation. I never used PHP obfuscation packages but I know how they work and I forsee some issues in obfuscating a module that is very string and xml dependant: /etc/config.xml registers harcoded class names and paths auto-loading is heavily used and paths are important I cannot im...

What are your Common Magento Configuration Mistakes?

If there's something that everybody hates about Magento it's endlessly configuring your modules before being able to write some code. I'm trying to collect a list of common Magento configuration errors for a future project that's I'm close to launching. I'm looking for specific examples of things like using the wrong naming conventio...

How do I get product category information using collections in Magento

Hi guys - I am trying to output all the products from our Magento shop - the following code works however I also need to grab the category id & the parent category name too. Can anyone suggest how I can do this? Thanks in advance $product = Mage::getModel('catalog/product'); $productCollection = $product->getCollection() ->addAttrib...

Magento adding new options to a drop down attribute

Hello Im currently writing a product syncronisation script for magento. I know how to add a new product with a given attribute set. However one of the atributes i am using is a size field. When a new size is encounterd I want to add this option to the attribute, I am wondering how to do this please? ...

Magento - Paypal Express 404 Error

I have added paypal pro (uk) express to my Magento shopping cart. The paypal button now appears below the checkout button in the shopping cart. The problem is when I click the paypal button I get a 404 error. Any ideas? ...

Magento validation problem

i dont know whether am only getting this problem or some one else. When entering string as input in the quantity filed of addtocart input box it never throws error and it takes as 1. how can i validate it. bcz they already made onclick function on addtocart function. Please help me to solve this ...

Magento- custom attribute causes blank order number.

Hi- I created a simple custom attribute on the sales/order entity. Now, for new orders, order number is null. I looked at the sales_order table, and sure enough, increment_id is null... can anyone help me out, I am stumped? This is my setup.php: `public function getDefaultEntities() { return array( 'order' => arra...

Index page in Magento is way too slow, what can I do?

Weirdly, the index page of my magento commerce is very slow, while when you navigate the products, brands, searchs etc is very fast, but everytime you click on the banner to go for home or enter the website, it take ages to load I wonder what can I do about this? I don't know where to start, since I am new at magento. I thought I could ...

Magento order tax information

I see that tax information is kept at order level but I cannot see any setters/getters for it. It could be related with Quote Items or even with Shipping addresses? Anybody knows how tax is related to order? ...

Magento: Rebuilding Flat Catalog Programmatically

I am using a cron to import inventory changes nightly. When I try to change a product's information (price, etc) I get the following error: Column not found: 1054 Unknown column 'e.display_price_group_0' in 'field list' I can fix this by clicking "Rebuild Flat Catalog Product" in the Cache Management panel. I setup a cron to do this...

Access Products/Category/Attribute Info from php with Magento API

Need to be able to pull Magento products into an external template. Need to be able to get all products data (description, title, attributes, categories, image, etc). And need to be able to filter by category, attribute and also search on name. These calls will be made from the same server that the Magento install is on. What's the b...

Update Store Logo Programmatically Magento

I've noticed that magento keeps the URL to the logo it uses for each store you setup in the "core_config_data" table. If I run this SQL: SELECT * FROM `core_config_data` WHERE path = 'design/header/logo_src' I get a list of stores and their associated logo. I also get a config_id and a scope_id. I'd like to be able to update the...