Доброго времени суток! Установил по инструкции. Модуль Simple присутствует.
Сайт на OpenServer.
Жмешь добавить в корзину и выскакивает следующее:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<b>Notice</b>: Undefined index: unit_id in <b>M:\OSPanel\domains\ecolifer.ru\system\storage\modification\catalog\controller\checkout\cart.php</b> on line <b>344</b><br />
<b>Fatal error</b>: Uncaught Exception: Error: 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 '' at line 1<br />Error No: 1064<br />INSERT oc_cart SET api_id = '0', customer_id = '0', session_id = 'nlkn5do9k8kth6c9v6his7a5p6', product_id = '50', recurring_id = '0', `option` = '[]', quantity = '1', date_added = NOW(), unit_id = in M:\OSPanel\domains\ecolifer.ru\system\library\db\mysqli.php:40
Stack trace:
#0 M:\OSPanel\domains\ecolifer.ru\system\library\db.php(16): DB\MySQLi->query('INSERT oc_cart ...', Array)
#1 M:\OSPanel\domains\ecolifer.ru\system\storage\modification\system\library\cart\cart.php(277): DB->query('INSERT oc_cart ...')
#2 M:\OSPanel\domains\ecolifer.ru\system\storage\modification\catalog\controller\checkout\cart.php(344): Cart\Cart->add('50', 1, Array, 0, NULL)
#3 M:\OSPanel\domains\ecolifer.ru\system\storage\modification\system\engine\action.php(51): ControllerCheckoutCart->add()
#4 M:\OSPanel\domains\ecolifer.ru\catalog\con in <b>M:\OSPanel\domains\ecolifer.ru\system\library\db\mysqli.php</b> on line <b>40</b><br />
Журнал ошибок:
2017-11-21 19:26:42 - PHP Notice: Undefined index: unit_id in M:\OSPanel\domains\ecolifer.ru\system\storage\modification\catalog\controller\checkout\cart.php on line 344