<{if count($product.pdt_desc)>1}> <{if $good.marketable =='false'}>
<{else}>
- <{if $showtextbuy}><{t}>加入购物车<{/t}><{/if}>
  <h3><{t}><{if count($product.pdt_desc) == 0}>该商品暂时无货<{else}>请选择规格<{/if}><{/t}></h3> <table width="100%"> <{foreach from=$product.pdt_desc item=title key=product_id}> <{if is_numeric($product_id)}> <tr> <td width="110" align="left"><{$title}></td> <td nowrap><span class="fontcolorRed fontbold"><{$product.pdt_desc.price.$product_id|cur}></span></td> <td align="right" style="vertical-align:middle"> <{if $addcart_disabled != 1}> <{if $product.pdt_desc.store.$product_id === null || $product.pdt_desc.store.$product_id - intval($product.pdt_desc.freez.$product_id) > 0}> <a type="g" href="<{link ctl=cart act=addGoodsToCart arg0=$product.goods_id arg1=$product_id}>" buy="<{$product.goods_id}>" product="<{$product_id}>"<{if $setting.buytarget == 2}> target="_blank_cart"<{elseif $setting.buytarget == 3}> target="_dialog_minicart"<{/if}> title="加入购物车" rel="nofollow" class="btnbuy"><{t}>购买<{/t}></a> <{else}> <a type="g" href="<{link ctl=product act=gnotify arg0=$product.goods_id arg1=$product_id}>" rel="nofollow" class="btnbuy" title="缺货登记"><{t}>缺货<{/t}></a> <{/if}> <{/if}></td> </tr> <{/if}> <{/foreach}> </tr> </table>
  <{/if}> <{else}> <{if $addcart_disabled != 1}> <{if $good.marketable =='false'}>
<{else}> <{if $product.store === null || $product.store - intval($product.freez) > 0}>
- target="_blank_cart"<{elseif $setting.buytarget == 3}> target="_dialog_minicart"<{/if}> title="加入购物车" rel="nofollow"><{t}>加入购物车<{/t}>
<{else}>
- " rel="nofollow" class="listact " title="缺货登记"><{t}>缺货登记<{/t}> <{/if}> <{/if}> <{/if}> <{/if}>
- star="<{$product.goods_id}>"<{/if}> title="<{$product.name|escape:html}>" class="star-off"> href="<{link ctl="passport" act="login"}>" <{else}>href="#" onclick="return false;"<{/if}> class="listact" title="加入收藏" rel="nofollow"><{t}>加入收藏<{/t}>
- <{t}>查看详细<{/t}>