I got a MySQL error when trying the above fix:
What did I do wrong?Code:1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'p.product_is_free != 1 order by p.products_ordered ' at line 10 in: [select distinct p.products_id, pd.products_name, p.products_ordered from products p, products_description pd, products_to_categories p2c, categories c where p.products_status = '1' and p.products_ordered > 0 and p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and '67' in (c.categories_id, c.parent_id) p.product_is_free != 1 order by p.products_ordered desc, pd.products_name limit 20]![]()



