menu Controller

This commit is contained in:
merdan 2022-09-22 13:32:35 +05:00
parent b3268d162e
commit b80dab368f
1 changed files with 1 additions and 0 deletions

View File

@ -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)