// Update and fix some bugs on front and admin itnerfaces relative to available quantities functionnality
This commit is contained in:
1 parent
605dfdf4ca
commit
c2d0e5c822
8 files changed
+113
-48
No files matched your search
@@ -641,6 +641,7 @@ class CategoryCore extends ObjectModel
|
||||
.($active ? ' AND p.`active` = 1' : '')
|
||||
.($id_supplier ? ' AND p.id_supplier = '.(int)$id_supplier : '').
|
||||
' GROUP BY p.id_product';
|
||||
|
||||
if ($random === true)
|
||||
{
|
||||
$sql .= ' ORDER BY RAND()';
|
||||
|
||||
Reference in new issue
Block a user