From 501809f74adfd7d7d2caab484547353933b4b9e3 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Sat, 18 May 2024 18:58:38 +0200 Subject: [PATCH] test --- routes/web.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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++; } });