This commit is contained in:
paoloar77
2024-05-19 16:56:37 +02:00
parent b41e42ed0a
commit 8cebb0e978

View File

@@ -6071,6 +6071,8 @@ Route::get('/aggiornapreorder/{idarticolo}/{aggiornapreordine}', function ($idar
// get the article by product
$article = Article::where('IdArticolo', $idarticolo)->first();
showarray($article);
showarray($product);
$product_id = $product['id'];
@@ -6120,7 +6122,7 @@ Route::get('/aggiornapreorder/{idarticolo}/{aggiornapreordine}', function ($idar
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', '');
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', '');