- 博客(0)
- 资源 (2)
- 收藏
- 关注
火狼高级评论插件
火狼高级评论插件 v1.0.1
1. 把 core_custom 文件夹下的所有文件上传到 您商店的自定义插件目录下。
2. 如果您没有设置插件自定义路径,请将 core_custom 整个文件夹上传到商店的根目录下
打开 config/config.php , 检索 define('CORE_DIR', BASE_DIR.'/core');
在下面加入一行 define('CUSTOM_CORE_DIR', BASE_DIR.'/core_custom');
3. 拷贝 core/shop/view/product/index.html 到 core_custom/shop/view/product/index.html
打开 core_custom/shop/view/product/index.html
1) 检索:<{if $trading.score && $trading.score <>$goods.score}><li><{t}>特价积分:<{/t}><{$trading.score}></li><{/if}>
在下面插入 <{if $discuss.score}><li class="d-Point"><span><{t}>商品评分:<{/t}></span><{if $discuss.score.point>0}><cite class="star star<{$discuss.score.star}>"></cite><span><a >(已有<{$discuss.score.totals.0}>人评价)</a></span><{else}><span>暂无评价</span><{/if}></li><{/if}>
2) 检索:
<{if count($coupon)>0}>
<div class="section pdtdetail" tab="可得优惠券">
<h2><{t}>可得优惠券<{/t}></h2>
<div class="body" id="goods-coupon">
<ul 20px;">
<{foreach from=$coupon item=coupon key=key}>
<li><{$coupon.cpns_name}></li>
<{/foreach}>
</ul>
</div>
</div>
<{/if}>
在下面插入 <{require file="ducedis/discuss/product_side.html"}>
2012-12-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人