Notice (8): Undefined index: kichthuoc2 [APP/Controller/ProductController.php, line 665]Code Context $shopingcart[$id]['images2']=$product['Product']['images2'];
if (empty($_POST['kichthuoc'])) {
$shopingcart[$id]['kichthuoc']=$_POST['kichthuoc2'];
$id = null
$url = ''
$shopingcart = array(
'' => array(
'pid' => null,
'name' => null,
'images2' => null
)
)
$product = false
ProductController::addshopingcart() - APP/Controller/ProductController.php, line 665
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
Notice (8): Undefined index: soluong [APP/Controller/ProductController.php, line 669]Code Context$shopingcart[$id]['kichthuoc']=$_POST['kichthuoc'];
}
$shopingcart[$id]['sl']=$_POST['soluong'];
$id = null
$url = ''
$shopingcart = array(
'' => array(
'pid' => null,
'name' => null,
'images2' => null,
'kichthuoc' => null
)
)
$product = false
ProductController::addshopingcart() - APP/Controller/ProductController.php, line 669
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
Notice (8): Undefined index: giatien2 [APP/Controller/ProductController.php, line 672]Code Context if (empty($_POST['giatien'])) {
//$shopingcart[$id]['user_id']=$product['Product']['user_id'];
$shopingcart[$id]['giatien'] = $_POST['giatien2'];
$id = null
$url = ''
$shopingcart = array(
'' => array(
'pid' => null,
'name' => null,
'images2' => null,
'kichthuoc' => null,
'sl' => null
)
)
$product = false
ProductController::addshopingcart() - APP/Controller/ProductController.php, line 672
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
Notice (8): Undefined index: giatien2 [APP/Controller/ProductController.php, line 673]Code Context //$shopingcart[$id]['user_id']=$product['Product']['user_id'];
$shopingcart[$id]['giatien'] = $_POST['giatien2'];
$shopingcart[$id]['total']= $_POST['giatien2']*$shopingcart[$id]['sl'];
$id = null
$url = ''
$shopingcart = array(
'' => array(
'pid' => null,
'name' => null,
'images2' => null,
'kichthuoc' => null,
'sl' => null,
'giatien' => null
)
)
$product = false
ProductController::addshopingcart() - APP/Controller/ProductController.php, line 673
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