Notice (8): Undefined variable: shopingcart [APP/View/Product/viewcart.ctp, line 26]Code Context </thead>
<tbody>
<?php $total=0; $i=0; foreach($shopingcart as $key=>$product) {?>
$viewFile = '/home/dothominhh/web/dothominhhue.vn/public_html/app/View/Product/viewcart.ctp'
$dataForView = array(
'title_for_des' => '',
'title_for_key' => '',
'title_for_layout' => 'Đơn hàng của bạn'
)
$title_for_des = ''
$title_for_key = ''
$title_for_layout = 'Đơn hàng của bạn'
$total = (int) 0
$i = (int) 0
include - APP/View/Product/viewcart.ctp, line 26
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 968
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
Warning (2): Invalid argument supplied for foreach() [APP/View/Product/viewcart.ctp, line 26]Code Context </thead>
<tbody>
<?php $total=0; $i=0; foreach($shopingcart as $key=>$product) {?>
$viewFile = '/home/dothominhh/web/dothominhhue.vn/public_html/app/View/Product/viewcart.ctp'
$dataForView = array(
'title_for_des' => '',
'title_for_key' => '',
'title_for_layout' => 'Đơn hàng của bạn'
)
$title_for_des = ''
$title_for_key = ''
$title_for_layout = 'Đơn hàng của bạn'
$total = (int) 0
$i = (int) 0
include - APP/View/Product/viewcart.ctp, line 26
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 968
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118