From a518c1c7833e705a5b5a2ca6f57ceb4cb150d501 Mon Sep 17 00:00:00 2001 From: merdan Date: Thu, 1 Sep 2022 15:15:15 +0500 Subject: [PATCH] wellknow ss --- packages/Sarga/API/Http/Controllers/Products.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/Sarga/API/Http/Controllers/Products.php b/packages/Sarga/API/Http/Controllers/Products.php index 7894579f2..eb917f99b 100644 --- a/packages/Sarga/API/Http/Controllers/Products.php +++ b/packages/Sarga/API/Http/Controllers/Products.php @@ -97,6 +97,10 @@ class Products extends ProductController foreach($distinctVariants as $variant) { $option = $attribute->options->firstWhere('id',$variant->{$attribute->code}); + Log::info($attribute); + Log::info($option,); + Log::info($variant); + Log::info($variant->{$attribute->code}); $item = [ 'option' => $option->admin_name,