cart = VirtueMartCart::getCart(); $url = 0; if ($this->cart->_fromCart or $this->cart->getInCheckOut()) { $rview = 'cart'; } else { $rview = 'user'; } function renderControlButtons($view,$rview){ ?>