unexpected[it]

Professional IT Blog

Magento Useful Methods

//Get Store Configuration Setting
echo Mage::getStoreConfig("carriers/freeshipping/free_shipping_subtotal");

//Get Currency Symbol
echo Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();

//Print Amount Proper Currency (e.g. $102.36)
echo Mage::helper('core')->currency($subtotal, true, true)

Tags: , , ,

Leave a Reply

© 2010 unexpected[it]. All Rights Reserved.

This blog is powered by Wordpress and a modified version of Magatheme