{php $bootstrap_type = 3;} {template 'header'} {template 'common'}
商品详情 {$carttotal}

{loop $piclist $row}
{/loop}

{loop $piclist $row}
{/loop}

{$goods['title']}
{if $marketprice==$productprice} 现价 : ¥ {$marketprice} {if !empty($goods['unit'])}/ {$goods['unit']}{/if} {else} 现价 : ¥ {$marketprice} 原价: ¥ {$productprice} {if !empty($goods['unit'])}/ {$goods['unit']}{/if} {/if}
数量 :
{if $stock!=-1} ( 剩余 {$stock} ) {else} {/if}
{loop $specs $spec}
{$spec['title']} : {loop $spec['items'] $o} {if empty($o['thumb'])} {$o['title']} {else} {/if} {/loop}
{/loop}
{if count($params)>0}
{loop $params $p}
{$p['title']} {$p['value']}
{/loop}
{/if}
{$goods['content']}
{if $goods['status']!=1 || $goods['deleted']==1} 此商品已下架 {else} 添加到购物车 立即购买 {/if}
{php $title = $goods['title'];} {template 'footer'} {template 'footerbar'}