Code Context $this->render('ajax');
} else {
return $this->redirect($_SERVER['HTTP_REFERER']);
$type = 'file'
$id = '5e72444f-6e80-4e44-9f1c-32de2d4fd6d8'
$variation_id = '5e7f9dc2-d33c-4b37-b0f2-14b72d4fd6d8'
$account_id = null
$result = true
$return = array(
'success' => true,
'action' => 'add',
'cartcount' => (int) 1
)
BuyController::addToCart() - APP/Controller/BuyController.php, line 84
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 107