aa
This commit is contained in:
@@ -223,13 +223,17 @@ function loadArticleByIdArticle($id, $checkprevendita = false)
|
||||
return false;
|
||||
}
|
||||
|
||||
$ris = 'Articles:' . PHP_EOL;
|
||||
$ris = 'Articles di ' . $id . ' :' . PHP_EOL;
|
||||
$ris .= getarraystr($articles); // Converte solo i dati specificati in JSON
|
||||
|
||||
$product = Product::where('sku', $id)->first();
|
||||
try {
|
||||
$product = Product::where('sku', $id)->first();
|
||||
|
||||
$ris .= 'Product:' . PHP_EOL;
|
||||
// $ris .= getarraystr($product);
|
||||
$ris .= 'Product:' . PHP_EOL;
|
||||
$ris .= getarraystr($product);
|
||||
} catch (\Exception $e) {
|
||||
$ris .= "!!! Errore loadArticleByIdArticle Product: " . $e->getMessage();
|
||||
}
|
||||
|
||||
return $ris;
|
||||
} catch (\Exception $e) {
|
||||
|
||||
Reference in New Issue
Block a user