Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用以下代码来显示货币符号
<?php $_coreHelper = $this->helper('core')?> <?php echo $_coreHelper->currency('5'); ?>
它显示为 Rs253
我想显示为 Rs5
我不知道如何解决它。如果有人知道,请帮助我,提前谢谢
也许 $this 无权访问helper()
helper()
尝试
<?php echo Mage::helper('core')->currency(5); ?>