diff --git a/common/modules/product/helpers/ProductHelper.php b/common/modules/product/helpers/ProductHelper.php index 8afe692..df04b02 100755 --- a/common/modules/product/helpers/ProductHelper.php +++ b/common/modules/product/helpers/ProductHelper.php @@ -153,8 +153,8 @@ 1, ]) ->andWhere([ 'product_category.category_id' => $product_categories ]); - // $query->andWhere(['>=', 'product_variant.price', $product->enabledVariant->price * 0.7]); - // $query->andWhere(['<=', 'product_variant.price', $product->enabledVariant->price * 1.3]); + $query->andWhere(['>=', 'product_variant.price', $product->enabledVariant->price * 0.7]); + $query->andWhere(['<=', 'product_variant.price', $product->enabledVariant->price * 1.3]); $query->innerJoin('product_option', 'product_option.product_id = product.product_id'); $where = [ ]; -- libgit2 0.21.4