permalink
This commit is contained in:
@@ -634,8 +634,17 @@ function showOrdiniWeb()
|
||||
foreach ($orders as $order) {
|
||||
$product = Product::where('sku', $order->CodArticoloGM)->first();
|
||||
|
||||
if (isset($product['permalink'])) {
|
||||
$permalink = "<a href='" . $product['permalink'] . "' target='_blank'>";
|
||||
$finelink = "</a>";
|
||||
} else {
|
||||
$mylink = "";
|
||||
$finelink = "";
|
||||
}
|
||||
|
||||
|
||||
if ($product)
|
||||
$titolo = "<a href='" . $product['permalink'] . "' target='_blank'><span style='font-weigth: bold;'>" . $product['name'] . "</span></a>";
|
||||
$titolo = $mylink . "<span style='font-weigth: bold;'>" . $product['name'] . "</span>" . $finelink;
|
||||
else
|
||||
$titolo = "";
|
||||
|
||||
@@ -1977,7 +1986,8 @@ function setProductFromGM($article, $initlog, ProductLogger &$passproductLogger)
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
|
||||
// ESISTE GIA' IL LIBRO
|
||||
|
||||
$data1 = [
|
||||
|
||||
'regular_price' => $article->PrezzoIvato,
|
||||
|
||||
Reference in New Issue
Block a user