...
|
...
|
@@ -485,19 +485,26 @@ class IndexController extends AbstractAction |
|
|
exit;
|
|
|
}
|
|
|
|
|
|
$filter = Product\SearchModel::filter();
|
|
|
/* tar add 160826 */
|
|
|
$data['shopIdForFilter'] = $shopId;
|
|
|
$data['gender'] = $this->get('gender');
|
|
|
$data['channel'] = $this->get('yh_channel') ? $this->get('yh_channel') : Helpers::getChannelByCookie();
|
|
|
|
|
|
$filter = Product\SearchModel::filter(array(
|
|
|
'shop' => $shopId,
|
|
|
'gender' => $data['gender'],
|
|
|
'channel' => $data['channel']
|
|
|
));
|
|
|
|
|
|
$data['filter'] = $filter['filter'];
|
|
|
|
|
|
/* tar add 160931 */
|
|
|
$data['goods'] = \Product\SearchModel::search(array(
|
|
|
'shop' => $shopId
|
|
|
'shop' => $shopId,
|
|
|
'gender' => $data['gender'],
|
|
|
'channel' => $data['channel']
|
|
|
));
|
|
|
|
|
|
/* tar add 160826 */
|
|
|
$data['shopIdForFilter'] = $shopId;
|
|
|
$data['gender'] = $this->get('gender');
|
|
|
$data['channel'] = $this->get('yh_channel') ? $this->get('yh_channel') : Helpers::getChannelByCookie();
|
|
|
|
|
|
$this->_view->display('shop', array(
|
|
|
'shopIndex' => $data,
|
|
|
'shopPage' => array(
|
...
|
...
|
|