[-] BO : #PSFV-812 : Fix bug price in a specials block
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14545 b9a71923-0436-4b27-9f14-aed3839534dd
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