默认magento货币选择切换是显示在左边,有时候我们需要让其显示在头部。在directory.xml里找到: <block type="directory/currency" name="currency" before="catalog.leftnav" template="directory/currency.phtml"/> 复制好后,把它贴到page.xml的:<block type=”page/html_header” name=”header” as=”header”>里,并加上as=”currency_top”。 然后在头部适当的位置添加:<?php echo $this->getChildHtml(‘currency_top’)?> 如果不显示,需要设置一些东西:
在 system—>configuration—->general—>currency setup中
在 system—>transactional currency rates
在 system—>cache management—->选refresh,点击保存 |


ecshop仿一号店2013最新免费
人气:9180
ecshop考拉海购2016跨境电商
人气:1302
ecshop仿Vjia商城2014网店模板
人气:948
Prestashop英文医疗护理网站
人气:209
免费ecshop仿小米商城模板
人气:17098
ecshop嘀嗒猫零食商城模板
人气:1037