=> shop
[primary] => id_shop
[fields] => Array
(
[active] => Array
(
[type] => 2
[validate] => isBool
)
[deleted] => Array
(
[type] => 2
[validate] => isBool
)
[name] => Array
(
[type] => 3
[validate] => isGenericName
[required] => 1
[size] => 64
)
[id_theme] => Array
(
[type] => 1
[required] => 1
)
[id_category] => Array
(
[type] => 1
[required] => 1
)
[id_shop_group] => Array
(
[type] => 1
[required] => 1
)
)
[classname] => Shop
)
[update_fields
rotected] =>
[force_id] =>
[theme_id] => 4
)
Argument [7]
1
Argument [8]
1
[*]
CartControllerCore->processChangeProductInCart
- [line 76 - controllers/front/CartController.php]
71. public function postProcess()
72. {
73. // Update the cart ONLY if $this->cookies are available, in order to avoid ghost carts created by bots
74. if ($this->context->cookie->exists() && !$this->errors && !($this->context->customer->isLogged() && !$this->isTokenValid())) {
75. if (Tools::getIsset('add') || Tools::getIsset('update')) {
76. $this->processChangeProductInCart();
77. } elseif (Tools::getIsset('delete')) {
78. $this->processDeleteProductInCart();
79. } elseif (Tools::getIsset('changeAddressDelivery')) {
80. $this->processChangeProductAddressDelivery();
81. } elseif (Tools::getIsset('allowSeperatedPackage')) {
[*]
CartControllerCore->postProcess
- [line 72 - override/classes/controller/FrontController.php]
67. $this->init();
68. if ($this->checkAccess())
69. {
70. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
71. $this->setMedia();
72. $this->postProcess();
73. if (!empty($this->redirect_after))
74. $this->redirect();
75. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
76. $this->initHeader();
77. if ($this->viewAccess()) {
[*]
FrontController->run
- [line 367 - classes/Dispatcher.php]
362. if (isset($params_hook_action_dispatcher)) {
363. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
364. }
365.
366. // Running controller
367. $controller->run();
368. } catch (PrestaShopException $e) {
369. $e->displayMessage();
370. }
371. }
372.
[*]
DispatcherCore->dispatch
- [line 28 - index.php]
23. * @license
Для просмотра ссылки Войди или Зарегистрируйся
Open Software License (OSL 3.0)
24. * International Registered Trademark & Property of PrestaShop SA
25. */
26.
27. require(dirname(__FILE__).'/config/config.inc.php');
28. Dispatcher::getInstance()->dispatch();