...
|
...
|
@@ -304,9 +304,6 @@ class IndexController extends AbstractAction |
|
|
$sku = $this->get('sku', '');
|
|
|
$skn = $this->get('skn', '');
|
|
|
$buyNumber = $this->get('buy_number', 1);
|
|
|
if ($limitProductCode) {
|
|
|
$returnUrl = $this->server('HTTP_REFERER', $returnUrl);
|
|
|
}
|
|
|
|
|
|
// 购物车商品为空跳转到购物车页面
|
|
|
$uid = $this->getUid(true);
|
...
|
...
|
@@ -322,6 +319,11 @@ class IndexController extends AbstractAction |
|
|
return;
|
|
|
}
|
|
|
|
|
|
// 限购商品时更换返回按钮地址
|
|
|
if (isset($order['isLimit'])) {
|
|
|
$returnUrl = $this->server('HTTP_REFERER', $returnUrl);
|
|
|
}
|
|
|
|
|
|
$data = array(
|
|
|
'orderEnsurePage' => true,
|
|
|
'isOrdinaryCart' => ($cartType !== 'advance'),
|
...
|
...
|
|