mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-22 05:06:07 +03:00
add ssl in link of image for product
This commit is contained in:
parent
072b3a95b0
commit
8445980d5a
@ -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