Question


My client wants to display 3 different formats of currency which should be displayed on the product list page. Here is the screen shot for reference.
Currency

Do you see that $23.00 on right side? My client wants to display Euro and INR values to be displayed right under that USD value. How to do that. I took USD as default currency and INR and Euro as allowed currencies and imported standard conversion rates by using webserviceex. Please help me out.... I'm not understanding that where should I add the following line of codes...

$baseCode = Mage::app()->getBaseCurrencyCode();      
    $allowedCurrencies = Mage::getModel('directory/currency')->getConfigAllowCurrencies(); 
    $rates = Mage::getModel('directory/currency')->getCurrencyRates($baseCode, array_values($allowedCurrencies));
    var_dump($rates);

Help me

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top