Commit 446ae306ea8375a7b580a1711f39cff3eea36eaa
1 parent
182310de
big commti
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
frontend/models/ProductFrontendSearch.php
... | ... | @@ -98,6 +98,7 @@ class ProductFrontendSearch extends Product { |
98 | 98 | ProductHelper::_setQueryParams($query, $params); |
99 | 99 | |
100 | 100 | $query->andWhere(['!=', ProductVariant::tableName() .'.stock', 0]); |
101 | + $query->andWhere(['!=', ProductVariant::tableName() .'.status', 1]); | |
101 | 102 | |
102 | 103 | return $query; |
103 | 104 | } | ... | ... |