{if condition="[is_new_recommend] neq '0'"}

## 新品推荐

{foreach name="goods_new_list" item="goodsinfo" key="k"} {if condition="$goodsinfo['goods_info']['stock']!=0 && $goodsinfo['goods_info']['state']!=0"}
- {$goodsinfo['goods_info']['goods_name']}
  ￥{$goodsinfo['goods_info']['promotion_price']} ￥{$goodsinfo['goods_info']['market_price']}
{/if} {/foreach}

{/if} {if condition="[is_sale_ranking] neq 0" /}

## 销量排行榜

{foreach name="goods_sales_list" item="goodsinfo" key="k"}
- {if condition="$goodsinfo.stock==0"}
  {/if}
  {$goodsinfo.goods_name}
  ￥{$goodsinfo.promotion_price} 销量：{$goodsinfo.sales}
{/foreach}

{/if}