{notempty name="goods_list"}

{foreach name="goods_list" item="value"}
- {if (config('groupbuy_allow') && $value['goods_promotion_type'] == 1)}
  {$Think.lang.groupbuy_goods}
  {elseif (config('promotion_allow') && $value['goods_promotion_type'] == 2)/}
  {$Think.lang.ds_xianshi}
  {/if}
  {notempty name="$value.image"} {php}$i=1;{/php} {foreach name="$value.image" item="val" }
  {php}$i++;{/php} {/foreach} {else /}
  {/notempty}
  {:ds_price_format_forlist($value['goods_promotion_price'])} {$Think.lang.sold}{$value.goods_salenum}{$Think.lang.piece}
  {if $value.is_virtual == 1} {$Think.lang.virtual_exchange} {/if} {if $value.is_goodsfcode == 1} {$Think.lang.f_code_priority} {/if} {if $value.is_presell == 1} {$Think.lang.presell} {/if} {if $value.is_have_gift == 1} {$Think.lang.ds_gift} {/if} {$value.goods_name_highlight}{$value.goods_advword}
  {$Think.lang.comparison} {$Think.lang.ds_collect} {$value.evaluation_count}
  {if $value.goods_storage == 0} {if $value.is_appoint == 1} {else /} {/if} {else /} {if $value.is_virtual == 1 || $value.is_goodsfcode == 1 || $value.is_presell == 1} {else /} {/if} {/if}
{/foreach}

{else /}
{$Think.lang.ds_index_no_record}
{/notempty}