Notice: Error: Unknown column 'p.group' in 'group statement'
Error No: 1054
SELECT COUNT(*) AS total FROM (SELECT COUNT(DISTINCT `product_id`) AS `total` FROM(SELECT DISTINCT `p`.`product_id`, `p`.`group` FROM oc_product_to_category p2c LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE IF( `p`.`quantity` > 0, 7, `p`.`stock_status_id` ) IN(7) AND `p`.`date_available` <= NOW() AND `p`.`status` = '1' AND `p2c`.`category_id` IN(102) AND pd.language_id = '1' AND p.status = '1' AND p.quantity > 0 AND p.date_available <= NOW() AND p2s.store_id = '0' AND `p2c`.`category_id` IN(102)) AS `tmp` GROUP BY CASE WHEN p.`group` <> '' THEN p.`group` ELSE p.product_id END) AS total in /var/www/u0127327/public_html/sexgametoys.ru/system/library/db/mysqli.php on line 41Notice: Trying to get property of non-object in /var/www/u0127327/public_html/sexgametoys.ru/system/storage/modification/catalog/model/catalog/product.php on line 601 Для пары
Интернет-магазин интимных товаров
Заказать звонок