1

I am using Ajax Cart Popup http://www.magentocommerce.com/magento-connect/ajax-cart-popup.html

And One step checkout extensions. But when I click on check out button in popup cart, it redirects me to default one-page checkout. I want it to redirect me to one step checkout page.

What is needed to be changed?

  • You might need to contact the ajax-cart-popup module creator as it looks like there is a conflict between the two. – rob3000 Oct 31 '15 at 1:58
0

Please change code in file : HusseyCoding_AjaxCartPopup_Block_Popup

Find bellow function

public function getCheckoutUrl()
{
  return $this->_getCheckoutUrl();      
}

And replace below function

 public function getCheckoutUrl()
        {
//Make sure please put your One step checkout extension module enable or disable condition here
            if (!$this->helper('onestepcheckout')->isRewriteCheckoutLinksEnabled()){
                return $this->_getCheckoutUrl();
            }
            return $this->getUrl('onestepcheckout', array('_secure'=>true));
        }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.