请各位大哥帮一下忙。关于积分显示问题。谢谢

2016-07-07 15:31 来源:www.chinab4c.com 作者:ecshop专家



我想在购买此商可使用:440积分。。。上去添加:购买赠送消费积分数。。。怎样改呢。。。不尽感激

回答:
<a href="{$item.url}" title="{$lang.$item.type} {$item.act_name}{$item.time}" style="font-weight:100; color:#006bcd;">{$item.act_name}</a><br />
<!-- {/foreach} -->
</li>
<!-- {/if} -->
<li class="clearfix">
<dd>
<!-- {if $cfg.show_goodssn} 显示商品货号-->
<strong>{$lang.goods_sn}</strong>{$goods.goods_sn}
<!-- {/if} -->
</dd>
<dd class="ddR">
<!-- {if $goods.goods_number neq "" and $cfg.show_goodsnumber} 商品库存-->
<!-- {if $goods.goods_number eq 0} -->
<strong>{$lang.goods_number}</strong>
<font color='red'>{$lang.stock_up}</font>
<!-- {else} -->
<strong>{$lang.goods_number}</strong>
{$goods.goods_number} {$goods.measure_unit}
<!-- {/if} -->
<!-- {/if} -->
</dd>
</li>
<li class="clearfix">
<dd>
<!-- {if $goods.goods_brand neq "" and $cfg.show_brand} 显示商品品牌-->
<strong>{$lang.goods_brand}</strong><a href="{$goods.goods_brand_url}" >{$goods.goods_brand}</a>
<!--{/if}-->
</dd>
<dd class="ddR">
<!-- {if $cfg.show_goodsweight} 商品重量-->
<strong>{$lang.goods_weight}</strong>{$goods.goods_weight}
<!-- {/if} -->
</dd>
</li>
<li class="clearfix">
<dd>
<!-- {if $cfg.show_addtime} 上架时间-->
<strong>{$lang.add_time}</strong>{$goods.add_time}
<!-- {/if} -->
</dd>
<dd class="ddR">
<!--点击数-->
<strong>{$lang.goods_click_count}:</strong>{$goods.click_count}
</dd>
</li>
<li class="clearfix">
<dd class="ddL">
<!-- {if $cfg.show_marketprice} 市场价格-->
<strong>{$lang.market_price}</strong><font class="market">{$goods.market_price}</font><br />
<!-- {/if} -->
<!--本店售价-->
<strong>{$lang.shop_price}</strong><font class="shop" id="ECS_SHOPPRICE">{$goods.shop_price_formated}</font><br />
<!-- {foreach from=$rank_prices item=rank_price key=key} 会员等级对应的价格-->
<strong>{$rank_price.rank_name}:</strong><font class="shop" id="ECS_RANKPRICE_{$key}">{$rank_price.price}</font><br />
<!--{/foreach}-->
</dd>
<dd style="width:48%; padding-left:7px;">
<strong>{$lang.goods_rank}</strong>
<img src="images/stars{$goods.comment_rank}.gif" alt="comment rank {$goods.comment_rank}" />
</dd>
</li>

<!--{if $volume_price_list } -->
<li class="padd">
<font class="f1">{$lang.volume_price}:</font><br />
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#aad6ff">
<tr>
<td align="center" bgcolor="#FFFFFF"><strong>{$lang.number_to}</strong></td>
<td align="center" bgcolor="#FFFFFF"><strong>{$lang.preferences_price}</strong></td>
</tr>
<!-- {foreach from=$volume_price_list item=price_list key=price_key} -->
<tr>
<td align="center" bgcolor="#FFFFFF" class="shop">{$price_list.number}</td>
<td align="center" bgcolor="#FFFFFF" class="shop">{$price_list.format_price}</td>
</tr>
<!-- {/foreach} -->
</table>
</li>
<!--{/if}-->

<!--{if $goods.is_promote and $goods.gmt_end_time } 促销-->
{insert_scripts files='lefttime.js'}
<li class="padd loop" style="margin-bottom:5px; border-bottom:1px dashed #ccc;">
<strong>{$lang.promote_price}</strong><font class="shop">{$goods.promote_price}</font><br />
<strong>{$lang.residual_time}</strong>
<font class="f4" id="leftTime">{$lang.please_waiting}</font><br />
</li>
<!--{/if}-->
<li class="clearfix">
<dd>
<strong>{$lang.amount}:</strong><font id="ECS_GOODS_AMOUNT" class="shop"></font>
</dd>
<dd class="ddR">
<!-- {if $goods.give_integral > 0} 购买此商品赠送积分-->
<strong>{$lang.goods_give_integral}</strong><font class="f4">{$goods.give_integral} {$points_name}</font>
<!-- {/if} -->
</dd>
</li>
<!-- {if $goods.bonus_money} 红包-->
<li class="padd loop" style="margin-bottom:5px; border-bottom:1px dashed #ccc;">
<strong>{$lang.goods_bonus}</strong><font class="shop">{$goods.bonus_money}</font><br />
</li>
<!-- {/if} -->
<li class="clearfix">
<dd>
<strong>{$lang.number}:</strong>
<input name="number" type="text" id="number" value="1" size="4" onblur="changePrice()" style="border:1px solid #ccc; "/>
</dd>
<dd class="ddR">
<!-- {if $goods.integral > 0} 购买此商品可使用积分-->
<strong>{$lang.goods_integral}</strong><font class="f4">{$goods.integral} {$points_name}</font>
<!-- {/if} -->
</dd>
</li>
<!-- {if $goods.is_shipping} 为免运费商品则显示-->
<li style="height:30px;padding-top:4px;">
{$lang.goods_free_shipping}<br />
</li>
<!-- {/if} -->