Exemplo n.º 1
0
 protected function _getCartProductIds()
 {
     if ($id = Mage::app()->getRequest()->getParams('product')) {
         return $id;
     } else {
         return parent::_getCartProductIds();
     }
 }
Exemplo n.º 2
0
 protected function _getCartProductIds()
 {
     if ($id = Mage::app()->getRequest()->getParams('product') && $this->getRequest()->getRouteName() != 'checkout') {
         return $id;
     } else {
         return parent::_getCartProductIds();
     }
 }