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