Merge branch 'ticket-12487-HTTPS3' into develop

This commit is contained in:
Marion Muszynski 2017-04-24 15:20:57 +02:00
commit 9bd9fe53fd

View File

@ -81,6 +81,12 @@ class ProductController extends ProductControllerCore {
WHERE id_product = '.(int)$this->product->id
);
$bestSaleCart = Module::hookExec('bestSaleCart');
// @Override Antadis
if (strpos($this->product->description, 'www.bebeboutik.') !== false) {
$this->product->description = str_replace('http://www.bebeboutik.','//www.bebeboutik.',$this->product->description);
}
self::$smarty->assign(array(
'bestSaleCart' => $bestSaleCart,
'product' => $this->product,