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();