Code Context $gioHang = $_SESSION["gioHang"];
$gioHang[$id]["id"] = $product["Product"]["id"];
$gioHang[$id]["name"] = $product["Product"]["name"];
$slug = 'su-chia-khi'
$product = array(
'Product' => array(
'id' => '816',
'name_vie' => 'Sứ chia khí ',
'name_eng' => 'Sứ chia khí ',
'code' => null,
'alias' => null,
'cat_id' => '113',
'brand_id' => '83',
'price' => null,
'priceold' => null,
'type' => null,
'shortdes_vie' => '',
'shortdes_eng' => '',
'content_vie' => '',
'content_eng' => '',
'images' => '/admin/webroot/upload/image/files/chup_su_sung_han_mb_24_36x229x229x4.jpg',
'imageslide' => '/admin/webroot/upload/image/files/chup_su_sung_han_mb_24_36x229x229x4.jpg',
'pos' => null,
'new' => '0',
'hot' => '0',
'saleoff' => null,
'titleseo_vie' => '',
'titleseo_eng' => '',
'metakey_vie' => '',
'metakey_eng' => '',
'metades_vie' => '',
'metades_eng' => '',
'created' => '2014-02-11 07:58:31',
'modified' => '2014-02-11',
'status' => '1',
'view' => '0',
'slug' => 'su-chia-khi'
)
)
$id = '816'
$gioHang = array(
(int) 814 => array(
'id' => '814',
'name' => 'Các loại cổ cong máy hàn Mig',
'slug' => 'cac-loai-co-cong-may-han-mig',
'images' => '/admin/webroot/upload/image/files/cac_loai_co_congx229x229x4.jpg',
'price' => null,
'soluong' => (int) 1
),
(int) 816 => array(
'id' => '816'
)
)
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