Code Context $gioHang = $_SESSION["gioHang"];
$gioHang[$id]["id"] = $product["Product"]["id"];
$gioHang[$id]["name"] = $product["Product"]["name"];
$slug = 'kep-mat-500a'
$product = array(
'Product' => array(
'id' => '857',
'name_vie' => 'Kẹp mát 500A',
'name_eng' => 'Kẹp mát 500A',
'code' => null,
'alias' => null,
'cat_id' => '115',
'brand_id' => '83',
'price' => null,
'priceold' => null,
'type' => null,
'shortdes_vie' => '',
'shortdes_eng' => '',
'content_vie' => '',
'content_eng' => '',
'images' => '/admin/webroot/upload/image/files/kep-mat-500a.jpg',
'imageslide' => '/admin/webroot/upload/image/files/kep-mat-500a.jpg',
'pos' => null,
'new' => null,
'hot' => null,
'saleoff' => null,
'titleseo_vie' => '',
'titleseo_eng' => '',
'metakey_vie' => '',
'metakey_eng' => '',
'metades_vie' => '',
'metades_eng' => '',
'created' => '2014-02-11 10:08:15',
'modified' => '2014-02-11',
'status' => '1',
'view' => '0',
'slug' => 'kep-mat-500a'
)
)
$id = '857'
$gioHang = array(
(int) 980 => array(
'id' => '980',
'name' => 'Máy mài Maktec MT901 (230mm)',
'slug' => 'may-mai-maktec-mt901-230mm',
'images' => '/admin/webroot/upload/image/files/212121.jpg',
'price' => null,
'soluong' => (int) 1
),
(int) 857 => array(
'id' => '857'
)
)
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