diff --git a/routes/web.php b/routes/web.php index 8ba6212c..38780258 100644 --- a/routes/web.php +++ b/routes/web.php @@ -6125,7 +6125,9 @@ Route::get('/aggiornapreorder/{idarticolo}/{aggiornapreordine}', function ($idar } // $log2 .= $article->Titolo . ' - ' . $article->DescrizioneTipologia . ' - ' . $article->DescrizioneFormato . ' - Articolo aggiornato - ' . $variation['permalink'] . "\n"; - $product->save(); + $newproduct = new Newproduct(); + $newproduct->id_article = $article->IdArticolo; + $newproduct->save(); } } } else {