Link to a specific step in onepage checkout

后端 未结 4 787
自闭症患者
自闭症患者 2020-12-29 15:51

Is it possible to redirect the browser to nth step in the onepage checkout? If so, how would one go about doing it?

I\'m working on a payment module and have a sort

4条回答
  •  旧时难觅i
    2020-12-29 16:33

    I wanted to do the same thing, but couldn't figure out how to make the one page checkout open at the payment step.

    In the end, I used jQuery and an ajax call so I could call javascript code after changing the page:

        jQuery('body').load(failure, {}, function () {
            // set the magento onepage checkout accordion to the payment section
            checkout.gotoSection('payment');
        });
    

提交回复
热议问题