Notice (8): Undefined index: Product [APP/Controller/ProductController.php, line 505]Code Context }else{
//viet nam
if(isset($_POST['name'])) $shopingcart[$id]['name']=$_POST['name']; else $shopingcart[$id]['name']=$product['Product']['name'];
$id = '89'
$product = array()
$shopingcart = array()
ProductController::addshopingcart() - APP/Controller/ProductController.php, line 505
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 97
Notice (8): Undefined index: Product [APP/Controller/ProductController.php, line 507]Code Context if(isset($_POST['name'])) $shopingcart[$id]['name']=$_POST['name']; else $shopingcart[$id]['name']=$product['Product']['name'];
$shopingcart[$id]['id']=$product['Product']['id'];
$id = '89'
$product = array()
$shopingcart = array(
(int) 89 => array(
'name' => null
)
)
ProductController::addshopingcart() - APP/Controller/ProductController.php, line 507
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 97
Notice (8): Undefined index: Product [APP/Controller/ProductController.php, line 509]Code Context $shopingcart[$id]['id']=$product['Product']['id'];
if(isset($_POST['images'])) $shopingcart[$id]['images']=DOMAIN.'img/w80/'.$_POST['images']; else $shopingcart[$id]['images']=DOMAIN.'img/w80/'.$product['Product']['images'];
$id = '89'
$product = array()
$shopingcart = array(
(int) 89 => array(
'name' => null,
'id' => null
)
)
ProductController::addshopingcart() - APP/Controller/ProductController.php, line 509
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 97
Notice (8): Undefined index: Product [APP/Controller/ProductController.php, line 513]Code Context if(isset($_POST['soluong'])) $shopingcart[$id]['sl'] = $_POST['soluong']; else $shopingcart[$id]['sl'] = 1;
if(isset($_POST['giasp'])) $shopingcart[$id]['price']= $_POST['giasp']; else $shopingcart[$id]['price']= $product['Product']['price'];
$id = '89'
$product = array()
$shopingcart = array(
(int) 89 => array(
'name' => null,
'id' => null,
'images' => 'http://tragopdidong.vn/img/w80/',
'sl' => (int) 1
)
)
ProductController::addshopingcart() - APP/Controller/ProductController.php, line 513
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 97
Notice (8): Undefined index: Product [APP/Controller/ProductController.php, line 515]Code Context if(isset($_POST['giasp'])) $shopingcart[$id]['price']= $_POST['giasp']; else $shopingcart[$id]['price']= $product['Product']['price'];
$shopingcart[$id]['content']=$product['Product']['content'];
$id = '89'
$product = array()
$shopingcart = array(
(int) 89 => array(
'name' => null,
'id' => null,
'images' => 'http://tragopdidong.vn/img/w80/',
'sl' => (int) 1,
'price' => null
)
)
ProductController::addshopingcart() - APP/Controller/ProductController.php, line 515
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 97