diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php index 0dd61692..a94fd411 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -173,7 +173,7 @@ function setPreOrder($sku, $aggiornapreordine, $debug) 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', ''); + updateValueByKey($data['meta_data'], '_wpro_date_variable', $datenow); updateValueByKey($data['meta_data'], '_wpro_time_variable', ''); updateValueByKey($data['meta_data'], '_rank_math_gtin_code', ''); }