...
|
...
|
@@ -192,15 +192,15 @@ class IndexController extends AbstractAction |
|
|
$this->echoJson($result);
|
|
|
}
|
|
|
|
|
|
/*
|
|
|
* 获取购物车加价购商品数据模板
|
|
|
*/
|
|
|
public function giftinfoTplAction()
|
|
|
{
|
|
|
if ($this->isAjax()) {
|
|
|
echo file_get_contents($this->_view->getScriptPath() . '/../partials/cart/chose-panel.phtml');
|
|
|
}
|
|
|
}
|
|
|
// /*
|
|
|
// * 获取购物车加价购商品数据模板
|
|
|
// */
|
|
|
// public function giftinfoTplAction()
|
|
|
// {
|
|
|
// if ($this->isAjax()) {
|
|
|
// echo file_get_contents($this->_view->getScriptPath() . '/../partials/cart/chose-panel.phtml');
|
|
|
// }
|
|
|
// }
|
|
|
|
|
|
/*
|
|
|
* 获取购物车加价购商品数据
|
...
|
...
|
@@ -215,7 +215,7 @@ class IndexController extends AbstractAction |
|
|
$result = CartModel::giftProductData($skn, $promotionId);
|
|
|
}
|
|
|
|
|
|
$this->echoJson($result);
|
|
|
$this->_view->display('gift-info', $result);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|