Code Context $gioHang = $_SESSION["gioHang"];
$gioHang[$id]["id"] = $product["Product"]["id"];
$gioHang[$id]["name"] = $product["Product"]["name"];
$slug = 'may-phay-makita-rp0900-900w'
$product = array(
'Product' => array(
'id' => '983',
'name_vie' => 'Máy phay Makita RP0900 (900W)',
'name_eng' => 'Máy phay Makita RP0900 (900W)',
'code' => null,
'alias' => null,
'cat_id' => '169',
'brand_id' => '80',
'price' => null,
'priceold' => null,
'type' => null,
'shortdes_vie' => '',
'shortdes_eng' => '',
'content_vie' => '<strong style="color: rgb(5, 97, 151); font-family: Arial; text-align: justify;">Thông số kỹ thuật</strong><br style="color: rgb(5, 97, 151); font-family: Arial; text-align: justify;" />
<br style="color: rgb(5, 97, 151); font-family: Arial; text-align: justify;" />
<span style="color: rgb(5, 97, 151); font-family: Arial; text-align: justify;"> Công suất : 900W</span><br style="color: rgb(5, 97, 151); font-family: Arial; text-align: justify;" />
<span style="color: rgb(5, 97, 151); font-family: Arial; text-align: justify;"> Thông số kỹ thuật : chấu bóp 8mm or 3/8"</span><br style="color: rgb(5, 97, 151); font-family: Arial; text-align: justify;" />
<span style="color: rgb(5, 97, 151); font-family: Arial; text-align: justify;"> Tốc độ không tải : 27,000</span><br style="color: rgb(5, 97, 151); font-family: Arial; text-align: justify;" />
<span style="color: rgb(5, 97, 151); font-family: Arial; text-align: justify;"> Kích thước : 256 x 110 x 217mm</span><br style="color: rgb(5, 97, 151); font-family: Arial; text-align: justify;" />
<span style="color: rgb(5, 97, 151); font-family: Arial; text-align: justify;"> (10-3/32" x 4-5/16" x 8-17/32")</span><br style="color: rgb(5, 97, 151); font-family: Arial; text-align: justify;" />
<span style="color: rgb(5, 97, 151); font-family: Arial; text-align: justify;"> Trọng lượng tịnh: 2.7kg </span><br style="color: rgb(5, 97, 151); font-family: Arial; text-align: justify;" />
<span style="color: rgb(5, 97, 151); font-family: Arial; text-align: justify;"> Dây dẫn điện : 2.5m </span>',
'content_eng' => '',
'images' => '/admin/webroot/upload/image/files/7890.jpg',
'imageslide' => '/admin/webroot/upload/image/files/7890.jpg',
'pos' => null,
'new' => null,
'hot' => null,
'saleoff' => null,
'titleseo_vie' => '',
'titleseo_eng' => '',
'metakey_vie' => '',
'metakey_eng' => '',
'metades_vie' => '',
'metades_eng' => '',
'created' => '2014-02-14 03:21:32',
'modified' => '2014-02-14',
'status' => '1',
'view' => '0',
'slug' => 'may-phay-makita-rp0900-900w'
)
)
$id = '983'
$gioHang = array(
(int) 826 => array(
'id' => '826',
'name' => 'Máy bơm nước ly tâm trục ngang đa tầng cánh áp cao Pentax',
'slug' => 'may-bom-nuoc-ly-tam-truc-ngang-da-tang-canh-ap-cao-pentax',
'images' => '/admin/webroot/upload/image/images/1.jpg',
'price' => null,
'soluong' => (int) 1
),
(int) 860 => array(
'id' => '860',
'name' => null,
'slug' => 'que-han-kt-421',
'images' => '/admin/webroot/upload/image/files/que_han_kt421.jpg',
'price' => null,
'soluong' => (int) 1
),
(int) 983 => array(
'id' => '983'
)
)
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