aa
This commit is contained in:
@@ -215,13 +215,13 @@ function loadArticleByIdArticle($id, $checkprevendita = false)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$ris = 'Articles:';
|
$ris = 'Articles:' . PHP_EOL;
|
||||||
$ris .= var_export($articles, true); // Converti $articles in una stringa
|
$ris .= '<pre>' . print_r($articles, true) . '</pre>'; // Utilizzo di print_r con <pre> per formattare
|
||||||
|
|
||||||
$product = Product::where('sku', $id)->first();
|
$product = Product::where('sku', $id)->first();
|
||||||
|
|
||||||
$ris .= 'Product:';
|
$ris .= 'Product:' . PHP_EOL;
|
||||||
$ris .= var_export($product, true); // Converti $product in una stringa
|
$ris .= '<pre>' . print_r($product, true) . '</pre>'; // Utilizzo di print_r con <pre> per formattare
|
||||||
|
|
||||||
return $ris;
|
return $ris;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user