Gold Earrings

Displaying 1 to 49 of 160 products
 1  2  3  4  » 
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 'limit 0, 49' at line 7

select distinct p.products_image, m.manufacturers_id, m.manufacturers_name, p.products_id, pd.products_name, pd.products_description, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price, products_rrp 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 s ON p.products_id = s.products_id LEFT JOIN products_to_categories p2c ON p.products_id = p2c.products_id LEFT JOIN categories c ON p2c.categories_id = c.categories_id LEFT JOIN categories_description cd ON cd.categories_id = c.categories_id WHERE p.products_status <10 AND (p2c.categories_id = '249' OR c.parent_id = '249')AND ((SELECT COUNT(*) FROM products_attributes pas WHERE pas.products_id = p.products_id AND pas.options_values_id IN (160))>0) order by limit 0, 49