/** * One Page (OP) checkout urls */ public function getOPCheckoutUrl() { if (Mage::helper('opc')->isEnable()) { return $this->_getUrl('onepage', array('_secure' => true)); } else { return parent::getOPCheckoutUrl(); } }
/** * One Page (OP) checkout urls */ public function getOPCheckoutUrl() { var_dump('h2'); if (Mage::helper('onecheckout')->isEnable()) { return $this->_getUrl('bc_checkout', array('_secure' => true)); } else { return parent::getOPCheckoutUrl(); } }