From 303a1269a7048d83e87fcee080a42f86085b69c3 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Sat, 18 May 2024 20:08:48 +0200 Subject: [PATCH] test --- routes/web.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 7ea1d9e1..31c22044 100644 --- a/routes/web.php +++ b/routes/web.php @@ -6120,6 +6120,8 @@ Route::get('/aggiornapreorder/{idarticolo}/{postid}', function ($idarticolo, $po if ($variation->attributes[$found_key_version]->option == 'Nuovo') { $arrmetadata = $variation->meta_data; + echo 'VARIAZIONE=' . json_encode($variation); + $found = isKeyPresent($arrmetadata, '_wpro_variable_is_preorder'); if ($found) { $ispreorder = getValueByKey($arrmetadata, '_wpro_variable_is_preorder'); @@ -6128,7 +6130,7 @@ Route::get('/aggiornapreorder/{idarticolo}/{postid}', function ($idarticolo, $po } } } - showarray($variations); + // showarray($variations); } }