From 9569e9273a666210be45a50faf9eadf01402da00 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Sun, 19 May 2024 16:42:52 +0200 Subject: [PATCH] test --- routes/web.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 2148b056..a31c8ade 100644 --- a/routes/web.php +++ b/routes/web.php @@ -6120,10 +6120,11 @@ Route::get('/aggiornapreorder/{idarticolo}/{aggiornapreordine}', function ($idar echo showarray($data); $variation = Variation::update($idprodotto, $product['id'], $data); + Product::update($idprodotto, $data); if ($variation) { echo "Aggiornato Preorder: [ParentId=" . $idprodotto . '] ProdId= ' . $product['id'] . ' ' . $variation['name'] . "
"; } - $variation->save(); + // $log2 .= $article->Titolo . ' - ' . $article->DescrizioneTipologia . ' - ' . $article->DescrizioneFormato . ' - Articolo aggiornato - ' . $variation['permalink'] . "\n"; }