Есть работающий магазин на Opencart 1.5.6.2.Возникла следующая проблема: с главной страницы товар в корзину добавляется, работает кнопка "купить" Если зайти в категорию из списка или таблицы товар в корзину можно добавить, кнопка "купить" работает А если зайти в карточку товара, товарная позиция не добавляется, кнопка "купить" не работает.
В журнале ошибок вот такие записи: 2015-12-14 10:24:41 PHP Warning: Missing argument 4 for Cart::add(), called in /home/host1371029/site.ru/htdocs/www/catalog/controller/account/order.php on line 41 and defined in /home/host1371029/site.ru/htdocs/www/system/library/cart.php on line 318
2015-12-14 10:24:41 PHP Notice: Undefined variable: profile_id in /home/host1371029/site.ru/htdocs/www/system/library/cart.php on line 327
2015-12-14 10:25:12 PHP Warning: Missing argument 4 for Cart::add(), called in /home/host1371029/site.ru/htdocs/www/catalog/controller/account/order.php on line 41 and defined in /home/host1371029/site.ru/htdocs/www/system/library/cart.php on line 318
2015-12-14 10:25:12 PHP Notice: Undefined variable: profile_id in /home/host1371029/site.ru/htdocs/www/system/library/cart.php on line 327
В консоли Хрома такие ошибки:
Failed to load resource: the server responded with a status of 404 (Not Found)
tabs.js:1 Uncaught ReferenceError: $ is not defined
jquery.colorbox-min.js:4 Uncaught ReferenceError: jQuery is not defined
magazin-2-mestnyy-mc-20-01-toz-106.html:575 Uncaught SyntaxError: missing ) after argument list
magazin-2-mestnyy-mc-20-01-toz-106.html:553 Uncaught TypeError: $(...).colorbox is not a function
Failed to load resource: the server responded with a status of 404 (Not Found)