Problems with Shopping Cart

884 Views 3 replies
Beth S.
Joined: 7/24/2013

I keep trying to buy an accessory and can only get so far before I get this:

 

PHP notice

Undefined index: items

/var/www/applications/product_websites/include/store_core/releases/20130429230312/protected/controllers/cart/OrderConfirmAction.php(55)

43         $stateExceptions   = CartOrder::shippingExceptionsGet($consumerShipAddModel->StateId, $exceptionTypeValue='State');
44 
45 
46         /// JUGGLING OFFERS AND EXCEPTIONS...
47         if( empty($countryExceptions) && empty($stateExceptions) && isset($this->controller->_cartData['removed_items']) ){
48             $tmpItems = $this->controller->_cartData['removed_items'];
49             foreach($tmpItems as $idx => $item){
50                 $this->controller->_cartData['items'][$idx] = $item;
51                 unset($this->controller->_cartData['removed_items'][$idx]);
52             }
53         }
54         else{
55             $tmpItems = $this->controller->_cartData['items'];
56             $allExceptions = $stateExceptions + $countryExceptions;
57             foreach($tmpItems as $idx => $item){
58                 if(in_array($item['offer_id'],$allExceptions)){
59                     $this->controller->_cartData['removed_items'][$idx] = $item;
60                     unset($this->controller->_cartData['items'][$idx]);
61                 }
62             }
63         }
64 
65 
66         foreach($tmpItems as $idx => $item){
67             if(in_array($item['offer_id'],$countryExceptions)){

Stack Trace

#7
  /var/www/applications/product_websites/htdocs/index.php(17): CApplication->run()
12 defined('YII_DEBUG') or define('YII_DEBUG',true);
13 // specify how many levels of call stack should be shown in each log message
14 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
15 
16 require_once($yii);
17 Yii::createWebApplication($config)->run();
2013-07-29 14:18:47 Apache/2.2.14 (Ubuntu) Yii Framework/1.1.10
I've been getting this error as well for the past few days when trying to purchase the Blast Off Bag. When I added the Tall Cup to my cart and proceeded through the ordering process, the final order only contained the cup and not the bag! Very frustrating when I'm trying to give a company money and the ordering system doesn't work properly.
HGretton wrote: I've been getting this error as well for the past few days when trying to purchase the Blast Off Bag. When I added the Tall Cup to my cart and proceeded through the ordering process, the final order only contained the cup and not the bag! Very frustrating when I'm trying to give a company money and the ordering system doesn't work properly.
What internet browser are you using? It would also help if you could let us know what operating system you are using too...
I was having the same problem and contacted they site and received a nice reply see below. We have been having some difficulties with the NutriLiving store. I suggest using the Nutribullet store: www.nutriliving.com/shop/accessories I ordered the to-go bag and seen it was a few dollars more, but was free shipping. When i compared to this site the difference was the shipping cost. So it really was the same price.