...
|
...
|
@@ -175,6 +175,10 @@ class ItemModel |
|
|
//是否展览票
|
|
|
$goodsInfo['isTicket'] = $goodsInfo['skn'] * 1 === EXHIBITION_TICKET;
|
|
|
$goodsInfo['virtualGoods'] = $virtualGoods;//是否是虚拟商品
|
|
|
if ($goodsInfo['virtualGoods']) {
|
|
|
//是否显示虚拟商品,立即购买按钮
|
|
|
$goodsInfo['isVirtualBtn'] = $soldOut ? false : true;
|
|
|
}
|
|
|
|
|
|
if (!$soldOut && !$notForSale && !$virtualGoods) {
|
|
|
$goodsInfo['addToCart'] = true;
|
...
|
...
|
|