ECSHOP搜索结果显示商品的市场价格的方法

注:此方法同样适用于【如何在精品推荐、热卖商品、新品上市的“更多”页面里显示市场价格】下面以官方默认模板为例进行讲解.第一步,打开 /themes/default/search.dwt找到(注意有两处)

<!– {if $show_marketprice} –> {$lang.market_price}<font class="market">{$goods.market_price}</font><br /> <!– {/if} –>

将它修改为

{$lang.market_price}<font class="market">{$goods.market_price}</font><br />

继续找到(只有一处)

<!– {if $show_marketprice} –> {$lang.market_prices}<font class="market_s">{$goods.market_price}</font><br /> <!– {/if} –>

同样将它修改为

{$lang.market_prices}<font class="market_s">{$goods.market_price}</font><br />

感觉这个$show_marketprice根本没起作用,在对应的程序文件里也没找到赋值的地方。个人认为是官方2.7.2默认模板的一个小BUG。

你不能左右天气,但你能转变你的心情

ECSHOP搜索结果显示商品的市场价格的方法

相关文章:

你感兴趣的文章:

标签云: