Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Share your knowledge
 
Trenza
Member
 
Avatar
Total Posts:  57
Joined:  2010-03-11
Dhaka, Bangladesh
 

Please share any tweak here smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
Trenza
Member
 
Avatar
Total Posts:  57
Joined:  2010-03-11
Dhaka, Bangladesh
 

To get all the countries use the following code:

$_countries = Mage::getResourceModel(’directory/country_collection’)->loadData()->toOptionArray(false)

_________________________________________________________________________________

To show any number in current currency format use the code:

$_coreHelper = $this->helper(’core’);
echo $_coreHelper->currency(THE_NUMBER);

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top