Code Context $gioHang = $_SESSION["gioHang"];
$gioHang[$id]["id"] = $product["Product"]["id"];
$gioHang[$id]["name"] = $product["Product"]["name"];
$slug = 'bep-cat-axetylen-koike'
$product = array(
'Product' => array(
'id' => '893',
'name_vie' => 'Bép cắt Axetylen Koike',
'name_eng' => 'Bép cắt Axetylen Koike',
'code' => null,
'alias' => null,
'cat_id' => '118',
'brand_id' => '81',
'price' => null,
'priceold' => null,
'type' => null,
'shortdes_vie' => '',
'shortdes_eng' => '',
'content_vie' => '',
'content_eng' => '',
'images' => '/admin/webroot/upload/image/files/bep_cat_axetylen_koike_01x229x229x4.jpg',
'imageslide' => '/admin/webroot/upload/image/files/bep_cat_axetylen_koike_01x229x229x4.jpg',
'pos' => null,
'new' => null,
'hot' => null,
'saleoff' => null,
'titleseo_vie' => '',
'titleseo_eng' => '',
'metakey_vie' => '',
'metakey_eng' => '',
'metades_vie' => '',
'metades_eng' => '',
'created' => '2014-02-12 03:33:46',
'modified' => '2014-02-12',
'status' => '1',
'view' => '0',
'slug' => 'bep-cat-axetylen-koike'
)
)
$id = '893'
$gioHang = array(
(int) 843 => array(
'id' => '843',
'name' => 'MÁY PHOTOCOPY SHARP AR-5620S',
'slug' => 'may-photocopy-sharp-ar-5620s',
'images' => '/admin/webroot/upload/image/images/0002341_my_photocopy_sharp_ar_5620sx229x229x4.png',
'price' => null,
'soluong' => (int) 1
),
(int) 893 => array(
'id' => '893'
)
)
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