diff --git a/routes/web.php b/routes/web.php index c0fad30d..aa4ba77d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -6201,9 +6201,13 @@ Route::get('/qtanegativa', function () { $mydatestr = $article->DataPubblicazione; + $product_id = $article->IdArticolo; + echo '[' . $ind . ']' . $sep . $mydatestr . $sep . $article->Id . $sep . $article->IdArticolo . $sep . $article->Titolo . $sep . $article->DescrizioneStatoProdotto . $sep . $article->DescrizioneFormato . '[Quantita = ' . $article->QtaDisponibile . ']
'; - // $prodotti = Product::where('name', $titolo)->get(); - //$sku = Product::where('sku',6563)->first(); + $prodotto = Product::find($product_id); + $label = $prodotto['_wpro_label_variable']; + echo " label=" . $label; + $ind++; } });