/** * Returns modified url in some cases. * * @param string $url * @return string */ public function getUrl($url = '', $params = array()) { // Not actually the best way of doing it, but I prefer not to create another template // just to change these 2 urls. if ('checkout/cart/estimateUpdatePost' == $url) { return parent::getUrl('request4quote_front/quote/estimateUpdatePost'); } if ('checkout/cart/estimatePost' == $url) { return parent::getUrl('request4quote_front/quote/estimatePost'); } return parent::getUrl($url, $params); }