Коврики для йоги
Всё для йоги
Массаж
Фитнес
Аюрведа
Продукты, суперфуды
Красота и гигиена
Товары для дома
Антисептики, маски

Последние покупки

Unknown column 'rating' in 'order clause'

		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 `ps_product` p
		LEFT JOIN `ps_product_lang` pl ON (p.`id_product` = pl.`id_product` AND pl.`id_lang` = 3)
		LEFT JOIN `ps_image` i ON (i.`id_product` = p.`id_product` AND i.`cover` = 1)
		LEFT JOIN `ps_image_lang` il ON (i.`id_image` = il.`id_image` AND il.`id_lang` = 3)
		LEFT JOIN `ps_tax` t ON t.`id_tax` = p.`id_tax`
		LEFT JOIN `ps_tax_lang` tl ON (t.`id_tax` = tl.`id_tax` AND tl.`id_lang` = 3)
		LEFT JOIN `ps_manufacturer` m ON m.`id_manufacturer` = p.`id_manufacturer`
		WHERE p.`id_manufacturer` = 5 AND p.`active` = 1
		AND p.`id_product` IN (
					SELECT cp.`id_product`
					FROM `ps_category_group` cg
					LEFT JOIN `ps_category_product` cp ON (cp.`id_category` = cg.`id_category`)
					WHERE cg.`id_group` = 1
				)
		ORDER BY `rating` DESC 
		LIMIT 0,40