| No |
<{t}>货号<{/t}> |
<{t}>商品名称<{/t}> |
<{t}>单价<{/t}> |
<{t}>数量<{/t}> |
<{t}>小计<{/t}> |
<{foreach from=$goodsItem item=aGoods name="item"}>
| <{$smarty.foreach.item.iteration}> |
<{$aGoods.bn}> |
<{$aGoods.name}>
<{if count($aGoods.minfo)}>
<{foreach from=$aGoods.minfo item=minfo key=name}>
<{$minfo.label}>:<{$minfo.value}>
<{/foreach}>
<{/if}> |
<{$aGoods.price|cur}> |
<{$aGoods.quantity}> |
<{$aGoods.price*$aGoods.quantity|cur}> |
<{if $aGoods.adjunct}>
<{t}>商品配件<{/t}>
<{foreach from=$aGoods.adjunct item=ajuncts name="ajunctsItem"}>
| <{$smarty.foreach.item.iteration}> |
<{$ajuncts.bn}> |
<{$ajuncts.name}>
<{if $ajuncts.minfo && is_array($ajuncts.minfo)}>
<{foreach from=$ajuncts.minfo item=minfo key=name}>
<{$minfo.label}>:<{$minfo.value}>
<{/foreach}>
<{/if}><{if $ajuncts.link}><{/if}><{if $ajuncts.is_type == 'goods' && $ajuncts.small_pic}> ' title='<{$ajuncts.name}>'> <{/if}> |
<{$ajuncts.price|cur_odr}> |
<{$ajuncts.quantity}> |
<{$ajuncts.total_amount|cur_odr}> |
<{/foreach}>
|
<{/if}>
<{if $aGoods.gifts}>
<{t}>商品赠品<{/t}>
<{foreach from=$aGoods.gifts item=gifts name="ajunctsItem"}>
| <{$smarty.foreach.item.iteration}> |
<{$gifts.bn}> |
<{$gifts.name}>
<{if $gifts.minfo && is_array($gifts.minfo)}>
<{foreach from=$gifts.minfo item=minfo key=name}>
<{$minfo.label}>:<{$minfo.value}>
<{/foreach}>
<{/if}><{if $gifts.link}><{/if}><{if $gifts.is_type == 'goods' && $gifts.small_pic}> ' title='<{$ajuncts.name}>'> <{/if}> |
<{$gifts.price|cur_odr}> |
<{$gifts.quantity}> |
<{$gifts.price*$gifts.quantity|cur_odr}> |
<{/foreach}>
|
<{/if}>
<{/foreach}>
<{if $giftsItem}>
<{t}>优惠赠品<{/t}>
<{foreach from=$giftsItem item=aGoods name="item"}>
| <{$smarty.foreach.item.iteration}> |
<{$aGoods.bn}> |
<{if $aGoods.link}><{/if}><{$aGoods.name}><{if $aGoods.link}><{/if}> <{if $aGoods.small_pic}> ' title='<{$aGoods.name}>'> <{/if}> |
<{$aGoods.price|cur_odr:$order.currency}> |
<{$aGoods.quantity}> |
<{$aGoods.total_amount|cur_odr:$order.currency}> |
<{/foreach}>
|
<{/if}>
<{if $extend_items}>
<{foreach from=$extend_items item=aExtends name="extend_obj"}>
|
<{foreach from=$aExtends item=aItem name="extend_item"}>
| <{$smarty.foreach.item.iteration}> |
<{$aItem.bn}> |
<{$aItem.name}> |
<{$aItem.price|cur}> |
<{$aItem.quantity}> |
<{$aItem.price*$aItem.quantity|cur}> |
<{/foreach}>
<{/foreach}>
<{/if}>