Code Context $this->Session->write( 'cart', $cart );
$this->Session->setFlash('Item added to your cart');
$this->redirect( $_SERVER['HTTP_REFERER'] );
$id = '1196'
$cart = array(
(int) 1196 => true
)
ProductsController::cart_add() - APP/Plugin/Products/Controller/ProductsController.php, line 116
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 95