Magento add your own CMS Directive to include your custom template tag

Posted by Damodar Bashyal on July 15, 2014


This post details on how I was able to add new template tag on Magento Cms pages and static blocks. If you want to know more about these directives and template tags, you can check official magento wiki here.

I have already added this functionality and example on my github repository here This module consists of other functionalities, so check code and strip out that you don't need it.


How to pull new product image in magento for hover image in product list page

Posted by Damodar Bashyal on May 28, 2014


Lets create new image attribute first at: magento admin > Catalog > Attributes > Manage Attributes > Add New Attribute

Set Attribute Properties as below:


Magento fix catalog price rules promotion

Posted by Damodar Bashyal on May 06, 2014


One of the magento based website had strange issue. All rules in the admin > Promtions > Catalog Price Rules were inactive. But still some products were displaying as sale items. So ran mysql code listed below to find out what was happening.