// Currency conversion rates have to be available in the target currency $fromCur = ‘USD’; // currency code to convert from – usually your base currency $toCur = ‘EUR’; // currency to convert to $price = Mage::helper(‘directory’)-> currencyConvert(1000, $fromCur, $toCur); // if you want it rounded: $converted_final_price = Mage::app()->getStore()->roundPrice($price);
Price Currency Conversion in Magento
Posted by
rajthegr8
at
4:39 PM
Wednesday, October 31, 2012
This article is to show you how to convert price amount from one currency of the shop to another currency.
Subscribe to:
Post Comments (Atom)
Blog Archive
Popular Posts
-
You can select,insert,update and delete data in the Magento wby using their models concept. For example,a table named ‘testdata‘ with the fo...
-
This article will explain how to create an extension to send all the emails through gmail or other servers.I have created an module to set u...
-
This is an article to show you ,how you can set MySql Master-slave replication in magento for scalability ,handle failover and performance. ...
-
This blog will show you how to get all items in a shopping cart and totals in a magento store : $items = Mage::getSingleton('checkout/...
-
Breadcrumb is necessary for making website pages user navigation friendly. It can be printed out in any of the php or phtml pages by below c...
Share this on Facebook
Tweet this
Wow what a fabulous post.I fell glad on this post.Can you more share at here.
Thanks for more info.........
hot penny stock picks