Authored by hf

fixes bug refs YW-1217 footer link show error

... ... @@ -122,9 +122,9 @@
{{#if numInCart}}
<span class="num-tag">{{numInCart}}</span>
{{/if}}
<a href="/shoppingCart" class="num-incart iconfont">&#xe62c;</a>
<a href="{{cartUrl}}" class="num-incart iconfont">&#xe62c;</a>
{{#if goodsInstore}}
<a href="/shoppingCart" id="addtoCart" class="addto-cart">加入购物车</a>
<a href="{{cartUrl}}" id="addtoCart" class="addto-cart">加入购物车</a>
{{else}}
<a href="javascript:;" class="sold-out">已售罄</a>
{{/if}}
... ...
... ... @@ -199,6 +199,7 @@ class DetailModel
// 悬浮的购物车信息
$result['cartInfo'] = array(
'cartUrl' => Helpers::url('/shoppingCart'),
'numInCart' => 0,
'goodsInstore' => $baseInfo['storage'],
);
... ...