This commit is contained in:
paoloar77
2024-08-13 09:29:03 +02:00
parent 92ead17e22
commit 9926562f03

View File

@@ -495,11 +495,9 @@ function showOrdini()
// Show the fields of the orders
foreach ($orders as $order) {
$product = Product::where('sku', $order->CodArticoloGM)->first();
// $product = Product::where('sku', $order->CodArticoloGM)->first();
echo "prodotto... ";
echo getarraystr($product);
$product = null;
if ($product)
$titolo = "<a href='" . $product['permalink'] . "' target='_blank'><span style='font-weigth: bold;'>" . $product['name'] . "</span></a>";