Merge branch 'ticket-criteo'

This commit is contained in:
Marion Muszynski 2016-07-27 19:33:17 +02:00
commit dea3180ba6

View File

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