Top sellers

Warning: Division by zero in /home/redlancer/public_html/includes/classes/split_page_results.php on line 59
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-0, 0' at line 5

select p.products_id, pd.products_name, m.manufacturers_id, p.products_image, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_last_modified, p.products_ordered, sp.expires_date, p.manufacturers_id, m.manufacturers_name from products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id left join products_description pd on p.products_id = pd.products_id and pd.language_id = '1' left join specials sp on p.products_id = sp.products_id where p.products_status = '1' and p.products_ordered > 0 order by p.products_ordered desc, pd.products_name limit -0, 0