Tag Archives: template

Magento static block in template

A very useful feature in magento is the static block which you can print out in any of your template page. You can do it in the following way by changing ‘block-id’ for the block identifier you choosed to use. … Continue reading

Posted in Static blocks, Templates | Tagged , | 1 Comment

Magento search gives 404 page

If you happened to notice that simple search results with  404 page (page not found) for Magento 1.4 , check if you have installed  Customers who bought this product also purchased magento extension. The fix is pretty simple. Open app/code/local/Jain/Bought/etc/config.xml … Continue reading

Posted in Errors, extensions | Tagged , , , , | 3 Comments

Magento category bestseller

The first subject I tackle is the bestseller. I will extend the exemple provided by inchoo net for the magento product bestseller. First download the code. Modify the following lines from bestseller.phtml $_productCollection = Mage::getResourceModel(’reports/product_collection’) ->addAttributeToSelect(’*') ->addOrderedQty() ->addAttributeToFilter(’visibility’, $visibility) ->setOrder(’ordered_qty’, … Continue reading

Posted in bestseller | Tagged , , , , , | 6 Comments