Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Mage/Checkout/Helper/Url.php’s getCheckoutUrl() and getOPCheckoutUrl() return same value
 
derekl80
Jr. Member
 
Total Posts:  1
Joined:  2012-01-12
 

app/code/core/Mage/Checkout/Helper/Url.php:

public function getCheckoutUrl()
    
{
        
return $this->_getUrl('checkout/onepage');
    
}

    
public function getOPCheckoutUrl()
    
{
        
return $this->_getUrl('checkout/onepage');
    
}

Couldn’t figure out why I couldn’t remove “Checkout” from top.links using this:

<action method="removeLinkByUrl">
                    <
url helper="checkout/url/getCheckoutUrl" />
                </
action>

Realized it was because getCheckoutUrl() was returning the wrong address.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top