[-] BO : #PSFV-812 : Fix bug price in a specials block
This commit is contained in:
1 parent
0d6159f8e0
commit
41b6d62093
1 file changed
+1
@@ -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