Skip to content

Commit c48e68a

Browse files
authored
Merge pull request #61 from fabianaromagnoli/master
Fixes price_in_currency formatter availability condition
2 parents 90c68da + d7b0362 commit c48e68a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

design/frontend/template/tracking.phtml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $rates = Mage::getModel('directory/currency')->getCurrencyRates($baseCurrencyCod
1515
form_key: function () {
1616
return '<?php echo $this->getFormKey(); ?>';
1717
},
18-
<?php if ($rates && isset($rates[$currentCurrencySymbol])) : ?>
18+
<?php if ($rates && isset($rates[$currentCurrencyCode])) : ?>
1919
price_in_currency: function(price) {
2020
price = Math.round(price * 100) / 100;
2121
var price_converted = Math.round((price * <?php echo (float)$rates[$currentCurrencyCode]; ?>) * 100) / 100;

0 commit comments

Comments
 (0)