Jump to content

Cursor moves directly to payment method when checkout page loads.


Recommended Posts

Hi there,

I have one page checkout enabled, with COD, Check and Simplify CC as my three payment methods. When I click checkout, the page loads and the cursor jumps down to where one would enter CC number. Then, the customer has to manually scroll all the way to the top in order to review the order.

 

Obviously this issue goes away when I change to 5 step checkout.

 

Any help is appreciated.

post-458087-0-82359200-1460801617_thumb.png

Link to comment
Share on other sites

I may give you an alternative solution. If you do that, the page should be automatically scrolled top on page load. Please disable cache and allow for smart template compilations from the backoffice>perfomance tab to see its effect. Once you see the effect, you can restore their old values again.

 

Thanks

 

1. Open themes>default-bootstrap>order-payment.tpl

2. At the end of that file add the below code snippet

3. Save and close the file.

<script>
document.body.scrollTop = document.documentElement.scrollTop = 0;
</script>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...