1 / 9
文档名称:

Ecshop多货币解方案设计地开发.doc

格式:doc   大小:460KB   页数:9页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

Ecshop多货币解方案设计地开发.doc

上传人:beny00001 2021/12/3 文件大小:460 KB

下载得到文件列表

Ecshop多货币解方案设计地开发.doc

相关文档

文档介绍

文档介绍:word
word
1 / 9
word
Ecshop多货币
1:在themes下找到自己模板目录,进入library/:
<a href="{$url_head}&currency=USD">美元</a>  
<a href="{$url_head}&currency=GBP">英镑</a>  
<a href="{$url_head}&currency=EUR">欧元</a>  
<a href="{$url_head}&currency=Y">人民币</a>  
<a href="{$url_head}&currency=AUD">澳元</a>
自己修改,把RMB改成卢布,然后加上瑞士法郎SEK,加元CAD,代码是:
<a href="?currency=USD">USD</a>  
<a href="?currency=GBP">GBP</a>  
<a href="?currency=EUR">EUR</a>  
<a href="?currency=RUB">RUB</a>  
<a href="?currency=AUD">AUD</a>  
<a href="?currency=CAD">CAD</a>  
<a href="?currency=SEK">SEK</a>
2:在数据库里找到ecs_shop_config表,执行以下sql语句:
INSERT INTO `ecs_shop_config` (
`id` ,
`parent_id` ,
`code` ,
`type` ,
`store_range` ,
`store_dir` ,
`value` ,
`sort_order`
)
word
word
2 / 9
word
VALUES (
NULL , '1', 'rate', 'text', '', '', '1,,,,', '1'
), (
NULL , '1', 'ybprice_format', 'text', '', '', '£%s', '1'
),(
NULL , '1', 'aprice_format', 'text', '', '', '€%s', '1'
),(
NULL , '1', 'cprice_format', 'text', '', '', '¥%s', '1'
),(
NULL , '1', 'aoprice_format', 'text', '', '', 'AU$%s', '1'
);
自己修改代码是:
增加代码:
$_LANG['cfg_name']['rate'] = '货币汇率';
$_LANG['cfg_name']['ybprice_format'] = '英镑格式';
$_LANG['cfg_nam