public function doPushAction() { $productId = $this->_getParam("product_id"); $productType = $this->_getParam("product_type"); $this->_cart->push($productType, $productId); $this->redirect("view"); }
private function _renderCartInfo() { $cartInfo = $this->_cart->getCartInfo(); $this->assign("cartInfo", $cartInfo); }