mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-27 23:56:05 +03:00
SSL link for product image
This commit is contained in:
commit
92d94c919e
@ -279,17 +279,14 @@ class ModelExtensionRetailcrmIcml extends Model
|
|||||||
/**
|
/**
|
||||||
* Url
|
* Url
|
||||||
*/
|
*/
|
||||||
$this->url = new Url(
|
$this->url = new Url(HTTP_CATALOG, HTTPS_CATALOG);
|
||||||
HTTP_CATALOG,
|
|
||||||
$this->config->get('config_secure')
|
|
||||||
? HTTP_CATALOG
|
|
||||||
: HTTPS_CATALOG
|
|
||||||
);
|
|
||||||
$e->appendChild($this->dd->createElement('url'))
|
$e->appendChild($this->dd->createElement('url'))
|
||||||
->appendChild(
|
->appendChild(
|
||||||
$this->dd->createTextNode(
|
$this->dd->createTextNode(
|
||||||
$this->url->link(
|
$this->url->link(
|
||||||
'product/product&product_id=' . $product['product_id']
|
'product/product&product_id=' . $product['product_id'],
|
||||||
|
'',
|
||||||
|
(bool) $this->config->get('config_secure')
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user