parse test

This commit is contained in:
merdan 2022-06-28 18:46:45 +05:00
parent ce38776a77
commit 88a54a9272
1 changed files with 2 additions and 2 deletions

View File

@ -70,11 +70,11 @@ class Products extends ProductController
$qf->where('product_flat.channel', $channel)
->where('product_flat.locale', $locale)
->whereNotNull('product_flat.url_key')
->where('status',1);
->where('product_flat.status',1);
}]);
}])->find($id);
Log::info($product->variants->map->only(['status']));
// Log::info($product->variants->map->only(['status']));
if(!empty($product) && $product->super_attributes->isNotEmpty() && $product->variants->isNotEmpty())
{