ecshop积分商城怎么调用不同分类的商品
ecshop积分商城列表怎么调用不同分类(或指定分类)的商品或者是不同ID的商品因为要做成1L是使用金额+积分兑换,2L做成只能积分兑换!求高手解决!...
ecshop积分商城列表怎么调用不同分类(或指定分类)的商品或者是不同ID的商品 因为要做成1L是使用金额+积分兑换,2L做成只能积分兑换!求高手解决!
展开
2个回答
展开全部
<!--{foreach from=$goods_list item=goods name=name}-->
<!-- {if $goods.goods_id} -->
<li style="height: 334px; " onMouseOver="this.className='hover'" onMouseOut="this.className=''">
<div class="proInfoBox">
<div class="pro-w proInfoImg"> <a target="_blank" title="{$goods.goods_name}" href="{$goods.url}"> <img src="{$goods.goods_thumb}" alt="{$goods.goods_name}" style="display: block; "> </a>
</div>
<div class="pro-w clearfix proPrice">
<strong class="fl">{$lang.exchange_integral}
</strong> <span class="fr"><vp>{$goods.exchange_integral}</vp>
</宽凳span> </div>
<颤迹div class="pro-w proTitle"> <a href="{$goods.url}" title="{$goods.goods_name}" target="_blank">{$goods.goods_name}<span></span></a></div>
<div class="pro-w"> <span class="coloD89"> {$goods.review_count}条评论</span> </div>
<div class="pro-w proShop"> <a href="{$goods.url}" target="_blank">{$goods.goods_brief|truncate:15}<span></span></a></div>
<div class="proProms"> {if $goods.is_hot eq 1}<span class="hot"></span>{else}{if $goods.is_new eq 1}<span class="new"></span>{else}{if $goods.is_best eq 1}<span class="best"></span>{/慎洞旅if}{/if}{/if}</div>
</div>
</li>
<!--{/if}-->
<!--{/foreach}-->
仅供参考
<!-- {if $goods.goods_id} -->
<li style="height: 334px; " onMouseOver="this.className='hover'" onMouseOut="this.className=''">
<div class="proInfoBox">
<div class="pro-w proInfoImg"> <a target="_blank" title="{$goods.goods_name}" href="{$goods.url}"> <img src="{$goods.goods_thumb}" alt="{$goods.goods_name}" style="display: block; "> </a>
</div>
<div class="pro-w clearfix proPrice">
<strong class="fl">{$lang.exchange_integral}
</strong> <span class="fr"><vp>{$goods.exchange_integral}</vp>
</宽凳span> </div>
<颤迹div class="pro-w proTitle"> <a href="{$goods.url}" title="{$goods.goods_name}" target="_blank">{$goods.goods_name}<span></span></a></div>
<div class="pro-w"> <span class="coloD89"> {$goods.review_count}条评论</span> </div>
<div class="pro-w proShop"> <a href="{$goods.url}" target="_blank">{$goods.goods_brief|truncate:15}<span></span></a></div>
<div class="proProms"> {if $goods.is_hot eq 1}<span class="hot"></span>{else}{if $goods.is_new eq 1}<span class="new"></span>{else}{if $goods.is_best eq 1}<span class="best"></span>{/慎洞旅if}{/if}{/if}</div>
</div>
</li>
<!--{/if}-->
<!--{/foreach}-->
仅供参考
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询