diff --git a/routes/web.php b/routes/web.php index 82c40561..ceacb243 100644 --- a/routes/web.php +++ b/routes/web.php @@ -6102,6 +6102,10 @@ Route::get('/aggiornapreorder/{idarticolo}/{postid}', function ($idarticolo, $po echo "Prodotto trovato: " . $product['name'] . "StockQty = " . $product['stock_quantity']; + if (isKeyPresent($product['meta_data'], '_is_pre_order')) { + echo "TROVATO ! "; + } + if ($product['_is_pre_order'] == 'true') { echo "PREORDER: " . $product['_is_pre_order'] . "
"; }