aa
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user