getProductsComplementaryFields 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 '))' at line 3 SELECT cfl.name, cf.title, cfv.value, cf.id_complementary_field AS id, cfv.id_product FROM `ps_complementary_field` cf LEFT JOIN `ps_complementary_field_lang` cfl ON (cfl.id_complementary_field = cf.id_complementary_field AND cfl.id_lang= 2) LEFT JOIN ps_complementary_field_value cfv ON ( cfv.id_complementary_field = cf.id_complementary_field AND cfv.id_product IN (1431,1435,1436,1438,1439,2484,2553,3770,4891,1437,2379,2380,2890,3025,3033,3371,3422,3426,4055,4241,4244,4475,4488,4497,4499,5621,5789,5790,5792,5793,5794,5795,5796,5997,6062,14909,15110,14185,15341,15344,15360,15397,15567,15580,15616,15645,15647,15704,15705,15722,15726,15741,15773,15776,15780,16031,16196,16222,))