<{if count($trading.products)>0 || count($trading.package)>0 || count($trading.gift_e)>0 }>
<{if count($trading.products)>0 || count($trading.package)>0 || count($trading.gift_e)>0 }>
" method="post" extra="cart">
<{if count($trading.products) > 0}>

### <{t}>已放入购物车的商品:<{/t}>

{buy_product}

<{t}>图片<{/t}> | <{t}>商品名称<{/t}> | <{t}>商品积分<{/t}> | <{t}>销售价格<{/t}> | <{t}>优惠价格<{/t}> | <{t}>数量<{/t}> | <{t}>小计<{/t}> | <{t}>删除<{/t}>
--- | --- | --- | --- | --- | --- | --- | ---
<{foreach from=$trading.products item="item" key="key"}>
| <{$item.name}><{if $item.spec}> (<{$item.spec}>)<{/if}><{$item.addon.adjname}> <{if $item._pmt.describe}> <{$item._pmt.describe}> <{/if}> | <{$item._pmt.score|intval}> | <{$item.sale_price|cur}> | <{$item._pmt.price|cur}> | <{if !is_null($item.store) && $item.store < $alert_num}><{t}>(提示:商品缺货)<{/t}><{/if}> | <{$item._pmt.amount|cur}> | <{img src="statics/bundle/del.gif" alt="删除"}>
<{/foreach}>

<{/if}> <{if $trading.gift_e}>

### <{t}>赠品<{/t}>

<{t}>图片<{/t}> | <{t}>赠品名称<{/t}> | <{t}>所需积分<{/t}> | <{t}>限购数量<{/t}> | <{t}>数量<{/t}> | <{t}>小计<{/t}> | <{t}>删除<{/t}>
--- | --- | --- | --- | --- | --- | ---
<{foreach from=$trading.gift_e item="item" key="key"}>
0 && $env.conf.site.thumbnail_pic_height >0}>width="<{$env.conf.site.thumbnail_pic_width}>" height="<{$env.conf.site.thumbnail_pic_height}>"<{/if}> /> | <{$item.name}> | <{$item.point}> | <{if $item.limit_num=='0'}><{t}>不限制<{/t}><{else}><{$item.limit_num}><{/if}> | size="3" name="cartNum[f][<{$item.gift_id}>]" > | <{$item.amount}> | <{img src="statics/bundle/del.gif" alt="删除"}>
<{/foreach}>

<{/if}> <{if $trading.package}>

### <{t}>捆绑商品<{/t}>

<{t}>货号<{/t}> | <{t}>捆绑名称<{/t}> | <{t}>优惠价格<{/t}> | <{t}>数量<{/t}> | <{t}>小计<{/t}> | <{t}>删除<{/t}>
--- | --- | --- | --- | --- | ---
<{foreach from=$trading.package item=item key=key}>
<{$item.bn}> | <{$item.name}> <{$item.addon.adjname}> | <{$item.price|cur}> | size="3" name="cartNum[p][<{$item.goods_id}>]" > | <{$item.amount|cur}> | <{img src="statics/bundle/del.gif" alt="删除"}>
<{/foreach}>

<{/if}>
<{if count($trading.coupon_u)>0}>
<{t}>使用的优惠券：<{/t}><{foreach from=$trading.coupon_u item="item" key="key"}><{$key}><{/foreach}><{t}>取消优惠券<{/t}>
<{else}> <{t}>对以上商品使用优惠券：<{input type="text" name="coupon" id="-s-ipt-coupon" size="30" value="请输入优惠券号码" onclick="this.value=(this.value=='请输入优惠券号码')?'':this.value"}>
<{/if}>
<{require file="cart/cart_total.html"}>
«继续购物
清空购物车
<{/if}>
<{t}>您已清空了购物车.<{/t}>

### <{t}>现在您可以:<{/t}>

- <{t}>返回网站首页<{/t}>
- <{t}>关闭此页面<{/t}>

<{else}>

### <{t}>购物车目前没有加入任何商品!<{/t}>

- <{t}>继续挑选商品»»<{/t}>
- <{t}>关闭此页面<{/t}>

<{/if}>