Code Context $gioHang = $_SESSION["gioHang"];
$gioHang[$id]["id"] = $product["Product"]["id"];
$gioHang[$id]["name"] = $product["Product"]["name"];
$slug = 'dong-ho-agon-renomn'
$product = array(
'Product' => array(
'id' => '1065',
'name_vie' => 'Đồng hồ Agon Renomn',
'name_eng' => 'Đồng hồ Agon Renomn',
'code' => null,
'alias' => null,
'cat_id' => '118',
'brand_id' => '82',
'price' => null,
'priceold' => null,
'type' => null,
'shortdes_vie' => '',
'shortdes_eng' => '',
'content_vie' => '',
'content_eng' => '',
'images' => '/admin/webroot/upload/image/files/REMOMN.JPG',
'imageslide' => '/admin/webroot/upload/image/files/REMOMN.JPG',
'pos' => null,
'new' => '0',
'hot' => '0',
'saleoff' => null,
'titleseo_vie' => '',
'titleseo_eng' => '',
'metakey_vie' => '',
'metakey_eng' => '',
'metades_vie' => '',
'metades_eng' => '',
'created' => '2016-12-06 02:01:19',
'modified' => '2016-12-06',
'status' => '1',
'view' => '0',
'slug' => 'dong-ho-agon-renomn'
)
)
$id = '1065'
$gioHang = array(
(int) 1064 => array(
'id' => '1064',
'name' => 'Mỏ Thổi cacbon',
'slug' => 'mo-thoi-cacbon',
'images' => '/admin/webroot/upload/image/files/mo_thoi_cac_bon.JPG',
'price' => null,
'soluong' => (int) 1
),
(int) 1065 => array(
'id' => '1065'
)
)
ProductsController::addShopingCart() - APP/Plugin/Products/Controller/ProductsController.php, line 544
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 92