zen-cart网站,模版,采集,二次开发

首页 » ZenCart » ZenCart教程 » 阅读文章

Zencart 屏蔽前台“人民币”货币选择

2011-06-11 11:39 20703 0 发表评论
标签:


众所周知,IPS等国内收款方式是以人民币来结算的,所以要求后台货币中含有人民币,我我们做外贸的由于有些原因并不想客户前台看到“人民币”,或者以人民币付款

默认方法

\includes\modules\sideboxes\currencies.php中查找

$currencies_array[] = array('id' => $key, 'text' => $value['title']);

替换为:

 if ($key != 'CNY') $currencies_array[] = array('id' => $key, 'text' => $value['title']);

注:这是使用默认sidebox货币框时的修改方式,有写模板时在有些模板这个文件在 \includes\templates\(your_template_name)\templates\tpl_header_currencies.php

相关日志:

评论 共0条 (RSS 2.0) 发表评论

  1. 暂无评论,快抢沙发吧。

发表评论

  • 
  • 插入代码

联系我 Contact Me

回到页首