plugin for Magento version 1.6+