From 38b41b6fe479d84b21aa3d223c5737436210c2a7 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Sat, 18 May 2024 17:49:31 +0200 Subject: [PATCH] t --- routes/web.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/web.php b/routes/web.php index 3b42f879..0cc29f71 100644 --- a/routes/web.php +++ b/routes/web.php @@ -6079,9 +6079,9 @@ Route::get('/aggiornapreorder/{idarticolo}/{postid}', function ($idarticolo, $po echo "Attributi:"; showarray($attributes); - echo "Variazioni:"; + echo "Variazioni:"; - $variations = Variation::all($product_id); + $variations = Variation::where('sku', $product_id)->get(); showarray($variations); } else {