menu Controller
This commit is contained in:
parent
b3268d162e
commit
b80dab368f
|
|
@ -499,6 +499,7 @@ class Configurable extends AbstractType
|
|||
}
|
||||
|
||||
public function getMinPriceVariant(){
|
||||
$tablePrefix = DB::getTablePrefix();
|
||||
return ProductFlat::join('products', 'product_flat.product_id', '=', 'products.id')
|
||||
->distinct()
|
||||
->where('products.parent_id', $this->product->id)
|
||||
|
|
|
|||
Loading…
Reference in New Issue