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 '1,9,2,10,11,30,31,32,3,13,14,4,15,16,7,44,8,48,49,50)
' at line 7
in:
[select count(*) as total FROM (zen_products p
LEFT JOIN zen_manufacturers m on (p.manufacturers_id = m.manufacturers_id), zen_products_description pd
LEFT JOIN zen_featured f on pd.products_id = f.products_id ), zen_products_to_categories p2c
WHERE p.products_status = 1 and p.products_id = f.products_id and f.status = 1
AND p.products_id = p2c.products_id
AND pd.products_id = p2c.products_id
AND p2c.categories_id in(,1,9,2,10,11,30,31,32,3,13,14,4,15,16,7,44,8,48,49,50)
AND p.products_id = pd.products_id and pd.language_id = 1 ]