团购功能:不能加入购物车报错的修改。如下:

app/code/local/magestore/groupdeal/model/observer.php

87行代码:

foreach($items as $item){
                //check if there is deal product in cart
                $option = $item->getOptionByCode('product_type');
                //if($option){
                    //$groupedProductId = $option->getProduct()->getId();
                    //if(Mage::helper('groupdeal')->isGroupdealProduct($groupedProductId)){
                        //remove recently added item
                    //    $this->_getCart()->removeItem($addedItem->getId());
                    //    Mage::throwException(Mage::helper('groupdeal')->__('Can\'t add more products to cart.'));
                    //    return;
                //    }
                //}
            }

修改如上。