Currently browsing

Magento – Format Price with Currency

When you fetch product data, you get the price as integer. Now, you must display the price with currency suffix. You can do this with the following code:- // let $_finalPrice be the integer price fetched $formattedPrice = Mage::helper(‘core’)->currency($_finalPrice,true,false); Looking for improvement for your Magento Store? Facebook Connector Extension Product related …

Magento – How to use registry

Registry is very useful class/utility in Magento. Magento registry allow you to save/register or create variable which you can see or access anywhere in your module/code. thesis creator Magento also use this to save current product  or current category used/accessed. The registry variable acts as a global variable (based on …