Authored by 郝肖肖

订单确认页面 统计代码

... ... @@ -232,9 +232,18 @@ class IndexController extends WebAction
$this->go(Helpers::url('/shopping/cart'));
}
$productListArr = array();
foreach ($orderEnsure['orderProducts'] as $orderProducts) {
$productListArr[] = $orderProducts['id'] . ',' . $orderProducts['productNum'];
}
$this->_view->display('order-ensure', array(
'orderEnsurePage' => true,
'orderEnsure' => $orderEnsure,
'pinyou' => array(
'money' => $orderEnsure['lastOrderAmount'],
'productList' => implode(';', $productListArr)
)
));
}
... ...