This commit is contained in:
paoloar77
2024-08-14 15:35:38 +02:00
parent 4d10166799
commit 7cfeeb12b2

View File

@@ -481,9 +481,9 @@ function showTest()
$mystr = '*** TEST: codarticolo: ' . $codarticolo; $mystr = '*** TEST: codarticolo: ' . $codarticolo;
if ($codarticolo) { if ($codarticolo) {
try { try {
$product = Product::where('sku', $codarticolo)->first(); //$product = Product::where('sku', $codarticolo)->first();
} catch (\Exception $e) { } catch (\Exception $e) {
return "Errore: " . $e->getMessage(); $mystr .= "Errore: " . $e->getMessage();
} }
// $mystr .= getarraystr($product); // $mystr .= getarraystr($product);