diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php index 35b6e553..92d03203 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -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', ''); }