<{if count($product.pdt_desc)>1}> <{if $good.marketable =='false'}>
<{else}>
- <{if $showtextbuy}><{t}>加入购物车<{/t}><{/if}>

  ### <{t}><{if count($product.pdt_desc) == 0}>该商品暂时无货<{else}>请选择规格<{/if}><{/t}>

  <{foreach from=$product.pdt_desc item=title key=product_id}> <{if is_numeric($product_id)}>
  <{$title}> | <{$product.pdt_desc.price.$product_id|cur}> | <{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}> target="_blank_cart"<{elseif $setting.buytarget == 3}> target="_dialog_minicart"<{/if}> title="加入购物车" rel="nofollow" class="btnbuy"><{t}>购买<{/t}> <{else}> <{t}>缺货<{/t}> <{/if}> <{/if}>
  <{/if}> <{/foreach}>

  <{/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}>