Code Context $gioHang = $_SESSION["gioHang"];
$gioHang[$id]["id"] = $product["Product"]["id"];
$gioHang[$id]["name"] = $product["Product"]["name"];
$slug = 'bo-han-cat-hoi'
$product = array(
'Product' => array(
'id' => '888',
'name_vie' => 'Bộ hàn cắt hơi',
'name_eng' => 'Bộ hàn cắt hơi',
'code' => null,
'alias' => null,
'cat_id' => '118',
'brand_id' => '83',
'price' => null,
'priceold' => null,
'type' => null,
'shortdes_vie' => '',
'shortdes_eng' => '',
'content_vie' => '<h2 style="color: rgb(73, 72, 72); font-family: 'normal Arial', Helvetica, sans-serif; line-height: 17px; text-align: justify; font-size: 14px;">
Bộ hàn cắt hơi</h2>
<p style="color: rgb(73, 72, 72); font-family: 'normal Arial', Helvetica, sans-serif; line-height: 17px; text-align: justify;">
Bộ mỏ hàn cắt hơi gồm có:</p>
<p style="color: rgb(73, 72, 72); font-family: 'normal Arial', Helvetica, sans-serif; line-height: 17px; text-align: justify;">
- Thân mỏ chinh: 01</p>
<p style="color: rgb(73, 72, 72); font-family: 'normal Arial', Helvetica, sans-serif; line-height: 17px; text-align: justify;">
- Mỏ cắt: 01</p>
<p style="color: rgb(73, 72, 72); font-family: 'normal Arial', Helvetica, sans-serif; line-height: 17px; text-align: justify;">
- Mỏ hàn ( có bép hàn kèm theo): 03</p>
<p style="color: rgb(73, 72, 72); font-family: 'normal Arial', Helvetica, sans-serif; line-height: 17px; text-align: justify;">
- Bộ đánh lửa: 01</p>
<p style="color: rgb(73, 72, 72); font-family: 'normal Arial', Helvetica, sans-serif; line-height: 17px; text-align: justify;">
- Bộ thông bép: 01</p>
<p style="color: rgb(73, 72, 72); font-family: 'normal Arial', Helvetica, sans-serif; line-height: 17px; text-align: justify;">
- Đuôi chuột: 02</p>
',
'content_eng' => '',
'images' => '/admin/webroot/upload/image/files/bo_han_cat_hoi_copy_1_x229x229x4.jpg',
'imageslide' => '/admin/webroot/upload/image/files/bo_han_cat_hoi_copy_1_x229x229x4.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:25:05',
'modified' => '2014-02-12',
'status' => '1',
'view' => '0',
'slug' => 'bo-han-cat-hoi'
)
)
$id = '888'
$gioHang = array(
(int) 813 => array(
'id' => '813',
'name' => 'Cách điện máy hàn Mig',
'slug' => 'cach-dien-may-han-mig',
'images' => '/admin/webroot/upload/image/files/cach_dien_otc_500ax229x229x4.jpg',
'price' => null,
'soluong' => (int) 1
),
(int) 888 => array(
'id' => '888'
)
)
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