Onepage checkout jumping problem

0 votes
264 views
asked Jul 19, 2016 in Magento by Issa
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
answered Jul 19, 2016 by Rahul Easwar
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 15 views
0 votes
1 answer 38 views
0 votes
1 answer 132 views
asked Dec 16, 2016 in Magento by anonymous
+2 votes
0 answers 107 views
+1 vote
1 answer 135 views
0 votes
3 answers 173 views
...