|
@@ -192,15 +192,15 @@ class IndexController extends AbstractAction |
|
@@ -192,15 +192,15 @@ class IndexController extends AbstractAction |
192
|
$this->echoJson($result);
|
192
|
$this->echoJson($result);
|
193
|
}
|
193
|
}
|
194
|
|
194
|
|
195
|
- /*
|
|
|
196
|
- * 获取购物车加价购商品数据模板
|
|
|
197
|
- */
|
|
|
198
|
- public function giftinfoTplAction()
|
|
|
199
|
- {
|
|
|
200
|
- if ($this->isAjax()) {
|
|
|
201
|
- echo file_get_contents($this->_view->getScriptPath() . '/../partials/cart/chose-panel.phtml');
|
|
|
202
|
- }
|
|
|
203
|
- }
|
195
|
+// /*
|
|
|
196
|
+// * 获取购物车加价购商品数据模板
|
|
|
197
|
+// */
|
|
|
198
|
+// public function giftinfoTplAction()
|
|
|
199
|
+// {
|
|
|
200
|
+// if ($this->isAjax()) {
|
|
|
201
|
+// echo file_get_contents($this->_view->getScriptPath() . '/../partials/cart/chose-panel.phtml');
|
|
|
202
|
+// }
|
|
|
203
|
+// }
|
204
|
|
204
|
|
205
|
/*
|
205
|
/*
|
206
|
* 获取购物车加价购商品数据
|
206
|
* 获取购物车加价购商品数据
|
|
@@ -215,7 +215,7 @@ class IndexController extends AbstractAction |
|
@@ -215,7 +215,7 @@ class IndexController extends AbstractAction |
215
|
$result = CartModel::giftProductData($skn, $promotionId);
|
215
|
$result = CartModel::giftProductData($skn, $promotionId);
|
216
|
}
|
216
|
}
|
217
|
|
217
|
|
218
|
- $this->echoJson($result);
|
218
|
+ $this->_view->display('gift-info', $result);
|
219
|
}
|
219
|
}
|
220
|
|
220
|
|
221
|
/**
|
221
|
/**
|