Commit 3d386c930ccb39f458a85841b02a9c742d51be4c
1 parent
a443d113
big commti
Showing
2 changed files
with
1 additions
and
17 deletions
Show diff stats
frontend/models/ProductFrontendSearch.php
@@ -104,7 +104,7 @@ class ProductFrontendSearch extends Product { | @@ -104,7 +104,7 @@ class ProductFrontendSearch extends Product { | ||
104 | 104 | ||
105 | $query->groupBy(['product.product_id', 'product_variant.price']); | 105 | $query->groupBy(['product.product_id', 'product_variant.price']); |
106 | 106 | ||
107 | - FilterHelper::setNewQueryParams($query, $params); | 107 | + ProductHelper::_setQueryParams($query, $params); |
108 | if($in_stock){ | 108 | if($in_stock){ |
109 | $query->andWhere(['!=', ProductVariant::tableName() .'.status', 1]); | 109 | $query->andWhere(['!=', ProductVariant::tableName() .'.status', 1]); |
110 | } | 110 | } |
frontend/views/search/index.php
@@ -15,22 +15,6 @@ $this->params['seo']['h1'] = 'Поиск'; | @@ -15,22 +15,6 @@ $this->params['seo']['h1'] = 'Поиск'; | ||
15 | $this->params['breadcrumbs'][] = 'Поиск'; | 15 | $this->params['breadcrumbs'][] = 'Поиск'; |
16 | ?> | 16 | ?> |
17 | <!-- Табы для слайдера --> | 17 | <!-- Табы для слайдера --> |
18 | -<div class="bigSlidertabs fixed" style="position:fixed;"> | ||
19 | - <div class="block-100"> | ||
20 | - <div class="tab1"> | ||
21 | - <a href="actionlist.htm"> | ||
22 | - <div class="tab_bg_1"></div> | ||
23 | - <p>В данный момент у нас проходит <a href="actionlist.htm">25 акций</p></a> | ||
24 | - </a> | ||
25 | - </div> | ||
26 | - <!-- | ||
27 | - <div class="tab2" style="display: none;"> | ||
28 | - <div class="tab_bg_2"></div> | ||
29 | - <p>Поступило на продажу <a href="#">10 новинок</a></p> | ||
30 | - </div> | ||
31 | - --> | ||
32 | - </div> | ||
33 | -</div> | ||
34 | 18 | ||
35 | <div class="container"> | 19 | <div class="container"> |
36 | <div class="block-25" style="position: relative;"> | 20 | <div class="block-25" style="position: relative;"> |