dynamic domain name
This commit is contained in:
@@ -932,7 +932,7 @@ class MauticConnect extends Module
|
||||
"@type" => "Order",
|
||||
"merchant" => [
|
||||
"@type" => "Organization",
|
||||
"name" => "exclusion-ua.shop"
|
||||
"name" => Tools::getShopDomainSsl()
|
||||
],
|
||||
"orderNumber" => $order_number,
|
||||
"orderStatus" => "http://schema.org/OrderInTransit",
|
||||
@@ -1056,13 +1056,13 @@ class MauticConnect extends Module
|
||||
"about" => [ // What this email is about: the abandoned cart items
|
||||
"@type" => "OfferCatalog", // A collection of offers/products
|
||||
"name" => "Неоформлене замовлення",
|
||||
"description" => "Ви, можливо, забули придбати ці товари на exclusion-ua.shop.",
|
||||
"description" => "Ви, можливо, забули придбати ці товари на ".Tools::getShopDomainSsl(),
|
||||
// Optionally, add a general image for the catalog/brand
|
||||
// "image": "https://exclusion-ua.shop/logo.png",
|
||||
// // "image": "https://exclusion-ua.shop/logo.png",
|
||||
"merchant" => [
|
||||
"@type" => "Organization",
|
||||
"name" => "exclusion-ua.shop",
|
||||
"url" => "https://exclusion-ua.shop" // URL of your store
|
||||
"name" => Tools::getShopDomainSsl(),
|
||||
"url" => Tools::getShopDomainSsl(true) // URL of your store
|
||||
],
|
||||
"itemListElement" => $abandoned_cart_items_for_json // The list of products
|
||||
]
|
||||
@@ -1165,7 +1165,7 @@ class MauticConnect extends Module
|
||||
"@type" => "Order",
|
||||
"merchant" => [
|
||||
"@type" => "Organization",
|
||||
"name" => "exclusion-ua.shop"
|
||||
"name" => Tools::getShopDomainSsl()
|
||||
],
|
||||
"orderNumber" => $order_number,
|
||||
"orderStatus" => "http://schema.org/OrderInTransit",
|
||||
|
||||
Reference in New Issue
Block a user