From be3c830afec5de90f0e70619c4fe4ad78f5ef254 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Tue, 21 May 2024 01:11:16 +0200 Subject: [PATCH] aa --- app/CustomFuncPao.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php index 49b41ce3..f2f7f30d 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -215,7 +215,15 @@ function loadArticleByIdArticle($id, $checkprevendita = false) return false; } - return dd($articles); + $ris = dd($articles); + + $product = Product::where('sku', $id)->first(); + + $ris .= 'Product:'; + $ris .= dd($product); + + return $ris; + } catch (\Exception $e) { return "Errore: " . $e->getMessage();