This commit is contained in:
paoloar77
2024-06-18 09:34:51 +02:00
parent fa40de1340
commit 00b7f61cab

View File

@@ -169,14 +169,14 @@ function setPreOrder($sku, $aggiornapreordine, $debug)
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'], '_wpro_date_label_variable', $datenow);
updateValueByKey($data['meta_data'], '_wpro_date_label_variable', $label_prenotalo_con_data);
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_amount_price_variable', 'fixed');
updateValueByKey($data['meta_data'], '_wpro_date_variable', $label_prenotalo_con_data);
updateValueByKey($data['meta_data'], '_wpro_date_variable', $datenow);
updateValueByKey($data['meta_data'], '_wpro_time_variable', '');
updateValueByKey($data['meta_data'], '_rank_math_gtin_code', '');
}