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 'DESCand p.`products_price` >= 158 and p.`products_price` <= 178 limit 288, 36' at line 12
in:
[SELECT p.products_id, p.products_type, pd.products_name, pd.products_small_description, p.products_image, p.products_price, p.products_tax_class_id, p.products_date_added, m.manufacturers_name, p.products_model, p.products_quantity, p.products_weight, p.product_is_call, p.product_is_always_free_shipping, p.products_qty_box_status, p.master_categories_id,p.product_is_wholesale,p.product_wholesale_min,p.products_price_sample, p.products_price_retail,p.products_quantity,p.products_quantity_order_min,p.products_status FROM products p LEFT JOIN manufacturers m ON (p.manufacturers_id = m.manufacturers_id), products_description pd WHERE p.products_status = 1 AND p.products_id = pd.products_id AND pd.language_id = 1 order by p.products_ordered DESCand p.`products_price` >= 158 and p.`products_price` <= 178 limit 288, 36]