Authored by whb

PC 修改

... ... @@ -648,7 +648,7 @@ _mvq.push(['$logConversion']);
_mvq.push(['$addGoods', /*分类id*/ '', /*品牌id*/ '', /*商品名称*/ '',/*商品ID*/ '{{productId}}',/*商品售价*/ '',/*商品图片url*/ '', /*分类名*/ '',/*品牌名*/ '', /*商品库存状态1或是0*/ '', /*网络价*/ '',/*收藏人数*/ '']);
_mvq.push(['$logData']);
var _goodsData = {
id:'{{productId}}',// 商品ID
id:'{{skn}}',// 商品ID
name:'{{productName}}', // 商品名称
brand:'{{brandName}}', // 商品品牌(非必填)
origPrice:'{{marketPrice}}', // 商品原价(非必填)
... ...
... ... @@ -179,6 +179,7 @@ class ItemModel
//统计需要的商品信息
$statGoodsInfo['uid'] = $uid;
$statGoodsInfo['skn'] = $baseInfo['erpProductId'];
$statGoodsInfo['productId'] = $productId;
$statGoodsInfo['productName'] = str_replace("'", "’",$goodsInfo['name']);
$statGoodsInfo['brandName'] = empty($goodsInfo['brandName'])? '' : str_replace("'", "’", $goodsInfo['brandName']);
... ...