We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 90c68da + d7b0362 commit c48e68aCopy full SHA for c48e68a
design/frontend/template/tracking.phtml
@@ -15,7 +15,7 @@ $rates = Mage::getModel('directory/currency')->getCurrencyRates($baseCurrencyCod
15
form_key: function () {
16
return '<?php echo $this->getFormKey(); ?>';
17
},
18
- <?php if ($rates && isset($rates[$currentCurrencySymbol])) : ?>
+ <?php if ($rates && isset($rates[$currentCurrencyCode])) : ?>
19
price_in_currency: function(price) {
20
price = Math.round(price * 100) / 100;
21
var price_converted = Math.round((price * <?php echo (float)$rates[$currentCurrencyCode]; ?>) * 100) / 100;
0 commit comments