Authored by hf

code review by fei.hong: do fixes bugs to shopping cart browse cookie buy limit goods

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