{if $smartyAttr.boughtListFinal.goodsList}

购买过本商品的还购买过

    {$a=1} {foreach item=x from=$smartyAttr.boughtListFinal.goodsList key=key name=foo} {if isset($smartyAttr.boughtListFinal.goodsStock[$x.product_id]->goods_number) && $smartyAttr.boughtListFinal.goodsStock[$x.product_id]->goods_number > 0 && $x.is_on_sale == 1 && $x.product_id != $productId} {$a=$a+1} {if $a <= 6}
  • {($smartyAttr.boughtListFinal.relationList[$x.product_id]->fraction * 100)|price_format:'4' }% 已购买 {$x.goods_name}{$x.goods_name} ¥{if $x.is_group_sale}{$x.promote_price}{else}{$x.shop_price}{/if} ¥{$x.market_price}
{/if} {/if} {/foreach}
{/if} {if $smartyAttr.goodsHistoryList}

您都看过哪些商品

    {foreach item=x from=$smartyAttr.goodsHistoryList key=key name=foo}
  • {$x.goods_name}{$x.goods_name} ¥{if $x.is_group_sale}{$x.promote_price}{else}{$x.shop_price}{/if} ¥{$x.market_price}
  • {/foreach}
{/if} {if $smartyAttr.rightAd} {foreach $smartyAttr.rightAd as $v}
{$v->title}
{/foreach} {/if}