Tag Archives: magento

magento configurable products are not uploading

Questions: we are using an extension to upload the products through csv files. Its working fine for simple product. But its giving error when we try to upload configurable product. Error : Skip import row, product with duplicate attribute combination In the following code ,the above error message is present. I want to know what… Read More »

Enable template path hint in admin pages – Magento

Questions: I want to enable template path hints in admin panel. I know how to do it for the front end, but for back end?? I actually want to edit the admin panel . Thanks in advance.. Answers: You can do it by changing the database directly. If you have something like phpMyAdmin that is… Read More »

How do I print all the queries in Magento?

Questions: Is it possible to display all the query strings in Magento? I really like to see what queries are executed. Thanks Answers: I’m not 100% sure this will catch every query, but most run through the query method Zend_Db_Adapter_Abstract query method in lib/Zend/Db/Adapter/Abstract.php With that in mind, you could temporarily add some debugging statements… Read More »

Magento install complains about missing InnoDB when it is available

Questions: During installation, Magento produces the following error: Database server does not support the InnoDB storage engine. I’ve fixed all the dependancies for Magento, and double checked with MySQL on the command line using SHOW ENGINES and definitely have InnoDB available (also the default storage engine). This isn’t an issue about access to MySQL config… Read More »

Can no longer add registration fields in Magento

Questions: I have used this tutorial before for adding registration fields to the Magento registration page. It has always worked, but since I have upgraded to Magento it no longer does. The attributes I add no longer show up under the customers information tab in the backend like it did before and are not… Read More »

Resource interpreted as image but transferred with MIME type text/html – Magento

Questions: I’m getting below error when uploading a new product image for my Magento shop. Resource interpreted as image but transferred with MIME type text/html Is there a reason why this is happening? Answers: This might well occur if your image path is set incorrectly. For example relative to current directory “images/myimage.gif” vs relative to… Read More »

Magento products by categories

Questions: Does anyone know how I can get a list of products belonging to a specific category from within a view file in Magento? Answers: You can use magento object to filter. Example: $categoryId = 123; // a category id that you can get from admin $category = Mage::getModel(‘catalog/category’)->load($categoryId); $products = Mage::getModel(‘catalog/product’) ->getCollection() ->addCategoryFilter($category) ->load();… Read More »