Thursday, 4 September 2014

By default every Magento product list page has to modes of view. They are List and Grid. We can set default mode through admin. For this , we need to go to System > Configuration > Catalog > Frontend > List mode and set default option there. However what about if we need to show different categories in different modes ? Obviously every one think to do this programmatically....

Thursday, 21 August 2014

On 23:21 by Unknown in , ,    3 comments
Static blocks are very useful tools in Magento. We can effectively use them in different situations. They provide us enough power on content management. However I felt it lacks with something. It can show its content only in boring text format. If we are planning to use multiple static blocks in a page,...

Friday, 8 August 2014

On 04:55 by Unknown in , ,    No comments
Introduction ---------------------- When I started to do Module Development in Magento, a lot of time I got an error like this Fatal error: Class 'Mage_HelperReference_Helper_Data' not found First time I wonder why Magento generates such an unwanted error, Since I really did't specify any helper anywhere in my code. But as time passes, I found out that, eventhough we don't use any helper...

Monday, 28 July 2014

Here in this tutorial, I would like to share you how can we set page size for a particular category. The Page Size is actually a property of a toolbar block that present in prodouct list block. So basically what you need to do is to set page size to a particuar value for toolbar block, when your category...

Tuesday, 22 July 2014

On 18:56 by Unknown in , ,    1 comment
Some times, it would be great if we can add a collapse/expand functionality in CMS Pages in Magento. A perfect example would be a read more option. When we display very long documents through CMS pages, it would be nice if we shrink the content part to a small section and add a read more link bottom...

Sunday, 13 July 2014

On 21:52 by Unknown in ,    2 comments
In this post, I would like to show you how can we get product option values. For this, let us start with creating a sample product that holds some custom options. Our Product has name Test Product With Option and below I am showing you its custom option that we set through admin Now its frontend...

Thursday, 26 June 2014

On 12:06 by Unknown in , ,    No comments
The main reason, in fact the inspiration behind this blog is this THREAD. In this thread, the user want to add layout that render by controller B by using controller A along with its layouts. For those who didn't understand the thread, I will explain the situation little bit. So I have a module Programmerrkt_Checkout, which is used to provide two checkout views for my site. So in my...