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', '');