This commit is contained in:
paoloar77
2024-08-13 09:27:46 +02:00
parent ff4ca1a7ae
commit 92ead17e22

View File

@@ -489,7 +489,7 @@ function showOrdini()
$sep = ""; $sep = "";
dd($orders); // dd($orders);
$baseUrl = Request::root(); // URL di base (dominio) $baseUrl = Request::root(); // URL di base (dominio)
@@ -497,6 +497,10 @@ function showOrdini()
foreach ($orders as $order) { foreach ($orders as $order) {
$product = Product::where('sku', $order->CodArticoloGM)->first(); $product = Product::where('sku', $order->CodArticoloGM)->first();
echo "prodotto... ";
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>";
else else