Viewed products
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 '-10,10' at line 16
SELECT p.*, pl.`description`, pl.`description_short`, pl.`link_rewrite`, pl.`meta_description`, pl.`meta_keywords`, pl.`meta_title`, pl.`name`, i.`id_image`, il.`legend`, m.`name` AS manufacturer_name, tl.`name` AS tax_name, t.`rate` FROM `fc_product` p LEFT JOIN `fc_product_lang` pl ON (p.`id_product` = pl.`id_product` AND pl.`id_lang` = 1) LEFT JOIN `fc_image` i ON (i.`id_product` = p.`id_product` AND i.`cover` = 1) LEFT JOIN `fc_image_lang` il ON (i.`id_image` = il.`id_image` AND il.`id_lang` = 1) LEFT JOIN `fc_tax` t ON t.`id_tax` = p.`id_tax` LEFT JOIN `fc_tax_lang` tl ON (t.`id_tax` = tl.`id_tax` AND tl.`id_lang` = 1) LEFT JOIN `fc_manufacturer` m ON m.`id_manufacturer` = p.`id_manufacturer` LEFT JOIN `fc_category_product` cp ON (cp.`id_product` = p.`id_product`) INNER JOIN `fc_category_group` ctg ON (ctg.`id_category` = cp.`id_category`) WHERE p.`id_manufacturer` = 4 AND p.`active` = 1 AND ( ctg.`id_group` = 1) GROUP BY p.`id_product` ORDER BY `name` DESC LIMIT -10,10



