colorvariant size variant changes
This commit is contained in:
parent
d38625c74c
commit
0e71aee1f1
|
|
@ -60,10 +60,9 @@ class Products extends ProductController
|
|||
|
||||
public function product($id){
|
||||
$product = $this->productRepository->select('id','attribute_family_id','type','brand_id')
|
||||
->with(['brand','related_products:id,type,attribute_family_id','variants'=>function($query)
|
||||
{
|
||||
$query->with(['product_flats' => function($qf)
|
||||
{
|
||||
->with(['brand','related_products'=> fn($rp) => $rp->select('id','type','attribute_family_id','brand_id')->with('brand'),
|
||||
'variants' => function($query){
|
||||
$query->with(['product_flats' => function($qf){
|
||||
$channel = core()->getRequestedChannelCode();
|
||||
|
||||
$locale = 'tm';//core()->getRequestedLocaleCode();
|
||||
|
|
|
|||
Loading…
Reference in New Issue