Showing
2 changed files
with
2 additions
and
1 deletions
@@ -648,7 +648,7 @@ _mvq.push(['$logConversion']); | @@ -648,7 +648,7 @@ _mvq.push(['$logConversion']); | ||
648 | _mvq.push(['$addGoods', /*分类id*/ '', /*品牌id*/ '', /*商品名称*/ '',/*商品ID*/ '{{productId}}',/*商品售价*/ '',/*商品图片url*/ '', /*分类名*/ '',/*品牌名*/ '', /*商品库存状态1或是0*/ '', /*网络价*/ '',/*收藏人数*/ '']); | 648 | _mvq.push(['$addGoods', /*分类id*/ '', /*品牌id*/ '', /*商品名称*/ '',/*商品ID*/ '{{productId}}',/*商品售价*/ '',/*商品图片url*/ '', /*分类名*/ '',/*品牌名*/ '', /*商品库存状态1或是0*/ '', /*网络价*/ '',/*收藏人数*/ '']); |
649 | _mvq.push(['$logData']); | 649 | _mvq.push(['$logData']); |
650 | var _goodsData = { | 650 | var _goodsData = { |
651 | - id:'{{productId}}',// 商品ID | 651 | + id:'{{skn}}',// 商品ID |
652 | name:'{{productName}}', // 商品名称 | 652 | name:'{{productName}}', // 商品名称 |
653 | brand:'{{brandName}}', // 商品品牌(非必填) | 653 | brand:'{{brandName}}', // 商品品牌(非必填) |
654 | origPrice:'{{marketPrice}}', // 商品原价(非必填) | 654 | origPrice:'{{marketPrice}}', // 商品原价(非必填) |
@@ -179,6 +179,7 @@ class ItemModel | @@ -179,6 +179,7 @@ class ItemModel | ||
179 | 179 | ||
180 | //统计需要的商品信息 | 180 | //统计需要的商品信息 |
181 | $statGoodsInfo['uid'] = $uid; | 181 | $statGoodsInfo['uid'] = $uid; |
182 | + $statGoodsInfo['skn'] = $baseInfo['erpProductId']; | ||
182 | $statGoodsInfo['productId'] = $productId; | 183 | $statGoodsInfo['productId'] = $productId; |
183 | $statGoodsInfo['productName'] = str_replace("'", "’",$goodsInfo['name']); | 184 | $statGoodsInfo['productName'] = str_replace("'", "’",$goodsInfo['name']); |
184 | $statGoodsInfo['brandName'] = empty($goodsInfo['brandName'])? '' : str_replace("'", "’", $goodsInfo['brandName']); | 185 | $statGoodsInfo['brandName'] = empty($goodsInfo['brandName'])? '' : str_replace("'", "’", $goodsInfo['brandName']); |
-
Please register or login to post a comment