【发布时间】:2013-10-30 16:28:53
【问题描述】:
我正在开发 Magento 1.7.0.2 和
app\design\frontend\default\default\template\catalog\product\price.phtml
第 201 行(ish)是
<?php echo $_coreHelper->currency($_price, true, true) ?>
生成代码:
<span class="price">£100.00</span>
由于货币符号在跨度中,因此在微格式中出现错误。因此,我希望价格看起来相同,但将货币符号从跨度中取出,使其看起来像:
£<span class="price">100.00</span>
我该怎么做? $_coreHelper->currency($_price, true, true) 在做什么?
【问题讨论】:
标签: magento microformats