Commit 120374e607065805b0f4d3a32a63b50cda654df3
1 parent
0fdb52ed
add variantSku
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
models/ProductFrontendSearch.php
... | ... | @@ -197,7 +197,7 @@ |
197 | 197 | $query = Product::find(); |
198 | 198 | } |
199 | 199 | |
200 | - $query->select('MAX('.ProductVariant::tableName() . '.price) as max, MIN('.ProductVariant::tableName() . '.price) as min)'); | |
200 | + $query->select('MAX('.ProductVariant::tableName() . '.price) as max, MIN('.ProductVariant::tableName() . '.price) as min'); | |
201 | 201 | $query->joinWith('variant'); |
202 | 202 | |
203 | 203 | // Price filter fix | ... | ... |