diff --git a/routes/web.php b/routes/web.php index a31c8ade..24244e7d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -6115,6 +6115,17 @@ Route::get('/aggiornapreorder/{idarticolo}/{aggiornapreordine}', function ($idar $data['meta_data'] = $product['meta_data']; updateValueByKey($data['meta_data'], $campoPreOrder, 'true'); updateValueByKey($data['meta_data'], '_is_pre_order', 'true'); + updateValueByKey($data['meta_data'], '_pre_order_date', '2024-05-25'); + updateValueByKey($data['meta_data'], '_wpro_date_label_variable', ''); + 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_price_type_variable', 'manual'); + updateValueByKey($data['meta_data'], '_wpro_amount_price_variable', 'fixed'); + updateValueByKey($data['meta_data'], '_wpro_date_variable', ''); + updateValueByKey($data['meta_data'], '_wpro_time_variable', ''); + updateValueByKey($data['meta_data'], '_rank_math_gtin_code', ''); echo "
Dati da Salvare:"; echo showarray($data);