Закрыть
Каталог товаров
Выберите модификацию товара.
Изображение
Товар добавлен к сравнению.

Добавлен к сравнению.

Хиты продаж
[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (1064) 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 'OR ORDER_ID IS NULL) GROUP BY PRODUCT_ID ORDER BY COUNT(PRODUCT_ID) DESC, DATE_I' at line 1 (400)
SELECT PRODUCT_ID FROM b_sale_basket WHERE DATE_INSERT > '2024-09-22 00:00:00' AND ( OR ORDER_ID IS NULL) GROUP BY PRODUCT_ID ORDER BY COUNT(PRODUCT_ID) DESC, DATE_INSERT DESC
/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/bitrix/php_interface/ext/spec_offers.php:71
#2: Professor\Ext\SpecOffers->getOrderedProducts()
	/home/bitrix/www/bitrix/templates/electro_new/header.php:403
#3: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_after.php:106
#4: require(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:11
#5: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#6: require(string)
	/home/bitrix/www/index.php:3