Merge branch 'ticket-criteo' into develop

This commit is contained in:
Marion Muszynski 2016-07-28 11:38:28 +02:00
commit 08d7951206

View File

@ -356,9 +356,12 @@ class Criteo_bbb extends Module
$strproducts = '';
$id_products = array();
foreach($params['products'] as $product) {
$id_products[] = (int) $product['id_product'];
foreach($params['products'] as $delay) {
foreach ($delay['products'] as $product) {
$id_products[] = (int) $product['id_product'];
}
}
echo '<pre>';var_dump($params['products'], $id_products);echo '</pre>';die();
$products_sales = array();
foreach(Db::getInstance()->ExecuteS('
SELECT `id_product`, `id_sale`