Toneri BG

Категории

Производители

Обява

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 `bobssy_product` p
		LEFT JOIN `bobssy_product_lang` pl ON (p.`id_product` = pl.`id_product` AND pl.`id_lang` = 3)
		LEFT JOIN `bobssy_image` i ON (i.`id_product` = p.`id_product` AND i.`cover` = 1)
		LEFT JOIN `bobssy_image_lang` il ON (i.`id_image` = il.`id_image` AND il.`id_lang` = 3)
		LEFT JOIN `bobssy_tax` t ON t.`id_tax` = p.`id_tax`
		LEFT JOIN `bobssy_tax_lang` tl ON (t.`id_tax` = tl.`id_tax` AND tl.`id_lang` = 3)
		LEFT JOIN `bobssy_manufacturer` m ON m.`id_manufacturer` = p.`id_manufacturer`
		LEFT JOIN `bobssy_category_product` cp ON (cp.`id_product` = p.`id_product`)
		INNER JOIN `bobssy_category_group` ctg ON (ctg.`id_category` = cp.`id_category`)
		
		WHERE p.`id_manufacturer` = 9 AND p.`active` = 1
		AND ( ctg.`id_group` = 1)
		GROUP BY p.`id_product`
		ORDER BY `name` DESC 
		LIMIT -10,10