- 帖子
- 32
- 积分
- 51
- 体力
- 32 点
- 金币
- 3
- 威望
- 0
|
48楼
发表于 2009-10-15 15:51
| 只看该作者
首页只有新品等分类才显示市场价,怎么样才能使自己添加的分类在首页也显示市场价?
过期病毒 发表于 2009-10-10 21:53
后台没办法设置,只能手动添加,可以在模板的 library/cat_goods.lib
中找到
商城价:<font class="f_shop">
<!-- {if $goods.promote_price neq ""} -->
{$goods.promote_price}
<!-- {else}-->
{$goods.shop_price}
<!--{/if}-->
</font>
在上面加上 市场价:<font class="f_market"> {$goods.market_price}</font><br />
变成
市场价:<font class="f_market"> {$goods.market_price}</font><br />
商城价:<font class="f_shop">
<!-- {if $goods.promote_price neq ""} -->
{$goods.promote_price}
<!-- {else}-->
{$goods.shop_price}
<!--{/if}--> |
|