This commit is contained in:
paoloar77
2024-05-20 00:39:08 +02:00
parent 6436fc04c8
commit b3ceb38b85

View File

@@ -6139,13 +6139,13 @@ Route::get('/aggiornapreorder/{idarticolo}/{aggiornapreordine}', function ($idar
if ($agg) {
updateValueByKey($data['meta_data'], $campoPreOrder, 'yes');
updateValueByKey($data['meta_data'], '_is_pre_order', 'yes');
/*updateValueByKey($data['meta_data'], '_pre_order_date', $datenow);
updateValueByKey($data['meta_data'], '_pre_order_date', $datenow);
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', 'Pre Ordinalo!');
updateValueByKey($data['meta_data'], '_wpro_price_type_variable', 'manual');
/*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', '');