Cloudim - онлайн консультант для сайта бесплатно.

Перейдите в каталог, выберите требуемый товар и добавьте его в корзину.

Сравнение товаров
Exception: Query error 42S22: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'shop_discounts.percent' in 'field list'. Query: SELECT SQL_CALC_FOUND_ROWS `shop_items`.*, IF (`shop_items`.`shop_currency_id` = '3', IF (shop_discounts.percent, price * (100 - shop_discounts.percent) * 64.05 / 100, shop_items.price * 64.05), IF (`shop_items`.`shop_currency_id` = '2', IF (shop_discounts.percent, price * (100 - shop_discounts.percent) * 70.9482 / 100, shop_items.price * 70.9482), IF (`shop_items`.`shop_currency_id` = '1', IF (shop_discounts.percent, price * (100 - shop_discounts.percent) * 1 / 100, shop_items.price * 1), price))) AS `absolute_price` FROM `shop_items` LEFT OUTER JOIN `shop_item_discounts` ON `shop_items`.`id` = `shop_item_discounts`.`shop_item_id` LEFT OUTER JOIN `shop_discounts` ON `shop_item_discounts`.`shop_discount_id` = `shop_discounts`.`id` AND ( `shop_discounts`.`end_datetime` >= '2017-07-29 18:38:56' OR `shop_discounts`.`end_datetime` = '0000-00-00 00:00:00' AND `shop_discounts`.`start_datetime` <= '2017-07-29 18:38:56' ) WHERE `shop_items`.`shop_id` = '1' AND ( `shop_items`.`start_datetime` < '2017-07-29 18:38:55' OR `shop_items`.`start_datetime` = '0000-00-00 00:00:00' ) AND ( `shop_items`.`end_datetime` > '2017-07-29 18:38:55' OR `shop_items`.`end_datetime` = '0000-00-00 00:00:00' ) AND `shop_items`.`siteuser_group_id` IN (0, -1) AND `shop_items`.`active` = 1 AND ( `shop_items`.`shop_group_id` = 989 AND `shop_items`.`modification_id` = 0 ) AND `shop_items`.`deleted` = 0 ORDER BY `absolute_price` ASC LIMIT 999 OFFSET 0
36 modules/core/exception.php
598 modules/core/database/pdo.php
61 modules/core/querybuilder/statement.php
491 modules/core/orm.php
410 modules/core/entity.php
770 modules/shop/controller/show.php
361 hostcmsfiles/lib/lib_43/lib_43.php
272 modules/lib/model.php
146 modules/core/page.php
16 templates/template11/template.htm
87 modules/template/model.php
146 modules/core/page.php
189 templates/template1/template.htm
87 modules/template/model.php
146 modules/core/page.php
481 modules/core/command/controller/default.php
193 modules/core/router/route.php
239 index.php