SSL link for product image

This commit is contained in:
Alex Lushpai 2021-04-23 12:20:36 +03:00 committed by GitHub
commit 92d94c919e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -279,17 +279,14 @@ class ModelExtensionRetailcrmIcml extends Model
/**
* Url
*/
$this->url = new Url(
HTTP_CATALOG,
$this->config->get('config_secure')
? HTTP_CATALOG
: HTTPS_CATALOG
);
$this->url = new Url(HTTP_CATALOG, HTTPS_CATALOG);
$e->appendChild($this->dd->createElement('url'))
->appendChild(
$this->dd->createTextNode(
$this->url->link(
'product/product&product_id=' . $product['product_id']
'product/product&product_id=' . $product['product_id'],
'',
(bool) $this->config->get('config_secure')
)
)
);