[-] BO : #PSFV-812 : Fix bug price in a specials block
This commit is contained in:
@@ -1943,6 +1943,7 @@ class ProductCore extends ObjectModel
|
||||
LEFT JOIN `'._DB_PREFIX_.'category_product` cp ON (cp.`id_category` = cg.`id_category`)
|
||||
WHERE cg.`id_group` '.$sql_groups.'
|
||||
)
|
||||
AND pa.`default_on` = 1
|
||||
GROUP BY p.id_product
|
||||
ORDER BY RAND()';
|
||||
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow($sql);
|
||||
|
||||
Reference in New Issue
Block a user