{extend name="default/base" /} {block name="title"}购物车 - {__block__}{/block} {block name="css"} {/block} {block name="header"} {php}$cartNum = WSTCartNum();{/php}
{/block} {block name="main"}
{if(!empty($carts['carts']))}
{volist name="carts['carts']" id="li"}

{$li['goodsName']}

¥ {$li['shopPrice']}

{/volist}
{else}

购物车内还没商品哦，去逛逛吧~

{/if}
{/block} {block name="include"} {if(!empty($carts['carts']))}
{/if} {include file="default/dialog" /} {/block} {block name="js"}
{/block}