2
我想在Magento的購物車和發票中顯示兩種貨幣。我已通過此代碼在產品頁面中填寫如何在magento購物車中顯示兩種貨幣
<div class="currency">
<?php if(Mage::app()->getStore()->getCurrentCurrencyCode() == 'USD'): ?>
<span class="price">(<?php echo round(Mage::helper('directory')->currencyConvert($_product->getFinalPrice(), 'USD', 'AUD'), 2); ?>) AUD</span>
<?php else: ?>
<span class="price">(<?php echo round(Mage::helper('di`enter code here`rectory')->currencyConvert($_product->getFinalPrice(), 'AUD', 'USD'), 2); ?>) USD</span>
<?php endif; ?>
</div>
現在我想在電子郵件發票中顯示此內容。
在電子郵件模板TI