Code Context $gioHang = $_SESSION["gioHang"];
$gioHang[$id]["id"] = $product["Product"]["id"];
$gioHang[$id]["name"] = $product["Product"]["name"];
$slug = 'dong-ho-gas-tanaka'
$product = array(
'Product' => array(
'id' => '883',
'name_vie' => 'Đồng hồ Gas Tanaka',
'name_eng' => 'Đồng hồ Gas Tanaka',
'code' => null,
'alias' => null,
'cat_id' => '118',
'brand_id' => '81',
'price' => null,
'priceold' => null,
'type' => null,
'shortdes_vie' => '',
'shortdes_eng' => '',
'content_vie' => '<table border="1" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="width:261px;height:23px;">
Loại phụ kiện</td>
<td style="width:261px;height:23px;">
Đồng hồ Gas</td>
</tr>
<tr>
<td style="width:261px;height:23px;">
Hãng sản xuất</td>
<td style="width:261px;height:23px;">
Tanaka</td>
</tr>
<tr>
<td style="width:261px;height:24px;">
Xuất sứ</td>
<td style="width:261px;height:24px;">
Japan</td>
</tr>
</tbody>
</table>
',
'content_eng' => '',
'images' => '/admin/webroot/upload/image/files/small_dst1279615548x229x229x4.jpg',
'imageslide' => '/admin/webroot/upload/image/files/small_dst1279615548x229x229x4.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:15:02',
'modified' => '2014-02-12',
'status' => '1',
'view' => '0',
'slug' => 'dong-ho-gas-tanaka'
)
)
$id = '883'
$gioHang = array(
(int) 881 => array(
'id' => '881',
'name' => 'Đồng hồ Oxy Tanaka',
'slug' => 'dong-ho-oxy-tanaka',
'images' => '/admin/webroot/upload/image/files/dong_ho_oxy_tanaka_tkn3x229x229x4.jpg',
'price' => null,
'soluong' => (int) 1
),
(int) 883 => array(
'id' => '883'
)
)
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