0 votes
1.9k views
in Magento by
Getting an irritating strange behaviour on onepagecheckout that needs to be fixed somehow. The thing is, on Step 2, after entering all the data required and while the user clicks on the continue button, the page just scrolls down to the very bottom of the screen and stays there. So basically instead of seeing the next step ie.shipping option, user will be looking at the bottom of the website and have to scroll up to proceed from there. Is there a way to keep the steps focused further the line please? ie.the next step should be visible always instead of guiding the user to the bottom of the page.

1 Answer

0 votes
by
You are not the one having the same problem. And there is a fix for this too!

Edit your checkout/onepage.phtml and add this code below var checkout = new Checkout(....);
checkout.gotoSection = function (section, reloadProgressBlock) {
            Checkout.prototype.gotoSection.call(this, section, reloadProgressBlock);
            $('opc-' + section).scrollTo();
        };

Related questions

+1 vote
1 answer 7.8k views
asked Jan 31, 2018 in Magento by Edward121 (260 points)
0 votes
1 answer 14.5k views
0 votes
1 answer 9.1k views
+1 vote
1 answer 5.9k views
0 votes
1 answer 2.4k views
asked Feb 14, 2017 in Magento by Toms
0 votes
1 answer 2.3k views
asked Dec 16, 2016 in Magento by anonymous
...