{if($cart)} {foreach $cart as $c}
{$c['title']}
{$c['attribute_txt']}
{$c['price']}
[删除]
{/foreach}
[结算购物车中的商品]
{else}
购物车中暂无商品
{/if}