Authored by Rock Zhang

1需付款与货到付款页面添加criteo统计数据

... ... @@ -65,6 +65,8 @@ class PayModel
$result['orderNum'] = $orderCode;
$result['count'] = $order['payment_amount'];
$result['paymentType'] = ($order['payment_type'] == 1 ? '在线支付' : '货到付款');
// 订单商品(用于订单统计)
$result['orderGoods'] = $order['order_goods'];
//统计成交的skn
$sknList = array();
... ... @@ -220,8 +222,6 @@ class PayModel
// 订单数(用于订单统计)
$result['orderCount'] = $orderCount;
$result['is_advance'] = $order['attribute'] == 5 ? 'Y' : 'N';
// 订单商品(用于订单统计)
$result['orderGoods'] = $order['order_goods'];
// 订单商品数(用于订单统计)
$result['ordersGoodsNums'] = count($order['order_goods']);
} while (false);
... ...
... ... @@ -69,6 +69,10 @@ class PayController extends WebAction
'count' => $data['count'],
'productList' => $data['pinyouGoods']
),
'criteo' => array(// criteo统计代码有关数据
'orderNum' => $data['orderNum'],
'items' => $data['orderGoods']
),
'payPage' => true
));
}
... ...