...
|
...
|
@@ -39,7 +39,11 @@ class ItemController extends WebAction |
|
|
$this->setTitle($seo['title'], true, '|');
|
|
|
$this->setKeywords($seo['keywords']);
|
|
|
$this->setDescription($seo['description'], true);
|
|
|
$this->saveCookie($goodsId, $productInfo['goodsInfo']['skn']);
|
|
|
|
|
|
// 除限量商品外, 其余的都往COOKIE里存
|
|
|
if (!isset($productInfo['goodsInfo']['fashionTopGoods'])) {
|
|
|
$this->saveCookie($goodsId, $productInfo['goodsInfo']['skn']);
|
|
|
}
|
|
|
|
|
|
//获取商品尺寸相关
|
|
|
$sizeInfo = ItemModel::getSizeInfo($productInfo['goodsInfo']['skn'], $productInfo['goodsInfo']['maxSortId']);
|
...
|
...
|
@@ -47,7 +51,7 @@ class ItemController extends WebAction |
|
|
'detail'=> array(),
|
|
|
'statGoodsInfo'=> array_merge(
|
|
|
array('fullSortName'=> implode('-', $sortNames)),
|
|
|
$productInfo['statGoodsInfo']),
|
|
|
$productInfo['statGoodsInfo']),
|
|
|
);
|
|
|
//导航
|
|
|
$data['detail']['pathNav'] = array_merge(
|
...
|
...
|
@@ -100,7 +104,7 @@ class ItemController extends WebAction |
|
|
$data = array('productDetailPage' => true,
|
|
|
'detail'=> array(),
|
|
|
'statGoodsInfo'=> array_merge(array('fullSortName'=> implode('-', $sortNames)),
|
|
|
$productInfo['statGoodsInfo']),
|
|
|
$productInfo['statGoodsInfo']),
|
|
|
);
|
|
|
//导航
|
|
|
$data['detail']['pathNav'] = array_merge(
|
...
|
...
|
|