This commit is contained in:
paoloar77
2024-05-20 00:35:42 +02:00
parent 03fa01a1bb
commit 829d274db2

View File

@@ -6134,11 +6134,11 @@ Route::get('/aggiornapreorder/{idarticolo}/{aggiornapreordine}', function ($idar
echo "Data:";
showarray($data);
$agg = false;
$agg = true;
$data['meta_data'] = $product['meta_data'];
if ($agg) {
updateValueByKey($data['meta_data'], $campoPreOrder, 'yes');
updateValueByKey($data['meta_data'], '_is_pre_order', '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', '');
updateValueByKey($data['meta_data'], '_wpro_no_date_label_variable', '');
@@ -6149,7 +6149,7 @@ Route::get('/aggiornapreorder/{idarticolo}/{aggiornapreordine}', function ($idar
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', '');
updateValueByKey($data['meta_data'], '_rank_math_gtin_code', '');*/
}
echo "<br>Dati da Salvare:";