Merge branch 'ticket-criteo' into develop

This commit is contained in:
Marion Muszynski 2016-07-27 19:29:32 +02:00
commit aa81282b02

View File

@ -66,7 +66,8 @@ foreach(Db::getInstance()->ExecuteS('
if (!Configuration::get('WIC_CRITEO_URL_MODE')) {
$s->addChildAuto('producturl', 'http://www.bebeboutik.com/');
} else {
$s->addChildAuto('producturl', $link->getProductLink((int)$product->id, $product->link_rewrite[$id_lang], $product->ean13));
$category = Category::getLinkRewrite((int)$row['id_category_default'], (int)($id_lang));
$s->addChildAuto('producturl', $link->getProductLink((int)$product->id, $product->link_rewrite[$id_lang], $category, $product->ean13));
}
/* Image Cover */