From 8cebb0e978cf2e59d4435b00d21e2aff38e88914 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Sun, 19 May 2024 16:56:37 +0200 Subject: [PATCH] tt --- routes/web.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 24244e7d..85726ecb 100644 --- a/routes/web.php +++ b/routes/web.php @@ -6071,6 +6071,8 @@ Route::get('/aggiornapreorder/{idarticolo}/{aggiornapreordine}', function ($idar // get the article by product $article = Article::where('IdArticolo', $idarticolo)->first(); + showarray($article); + showarray($product); $product_id = $product['id']; @@ -6120,7 +6122,7 @@ Route::get('/aggiornapreorder/{idarticolo}/{aggiornapreordine}', function ($idar updateValueByKey($data['meta_data'], '_wpro_no_date_label_variable', ''); updateValueByKey($data['meta_data'], '_wpro_manage_price_variable', ''); updateValueByKey($data['meta_data'], '_wpro_price_variable', ''); - updateValueByKey($data['meta_data'], '_wpro_label_variable', ''); + updateValueByKey($data['meta_data'], '_wpro_label_variable', 'Pre Ordinalo!'); updateValueByKey($data['meta_data'], '_wpro_price_type_variable', 'manual'); updateValueByKey($data['meta_data'], '_wpro_amount_price_variable', 'fixed'); updateValueByKey($data['meta_data'], '_wpro_date_variable', '');