...
|
...
|
@@ -174,6 +174,7 @@ class NewsaleController extends AbstractAction |
|
|
if ($this->isAjax()) {
|
|
|
$gender = $this->get('gender', null);
|
|
|
$brand = $this->get('brand', null);
|
|
|
$shop = $this->get('shop_id', null);
|
|
|
$sort = $this->get('sort', null);
|
|
|
$color = $this->get('color', null);
|
|
|
$size = $this->get('size', null);
|
...
|
...
|
@@ -190,7 +191,7 @@ class NewsaleController extends AbstractAction |
|
|
|
|
|
$channel = Helpers::getChannelByCookie();
|
|
|
$data = NewsaleData::selectNewSaleProducts(
|
|
|
$gender, $brand, $sort, $color, $size, $price, $p_d, $channel, $dayLimit, $limit, $page, $order
|
|
|
$gender, $brand, $sort, $color, $size, $price, $p_d, $channel, $dayLimit, $limit, $page, $order, $shop
|
|
|
);
|
|
|
$result = \Product\NewsaleModel::filterData($data, $gender);
|
|
|
}
|
...
|
...
|
|