Magento 1.9.1
Porto theme
I had this problem for a long time. I tried to fix it before but no luck yet...Apparently, this is not just my problem but many people are experiencing this very same issue. The problem is that some customers are having problems seeing the top of the page when moving forward in the check-out process and they have to scroll up to get to the relevant information on the page. I suspect this happens if they scroll down on the previous step for some reason then when they move to the next step - the scroller bar remains where it was on the previous step....Is there any way to fix that?
EDITED on May 7th, 2018:
I am still experiencing this issue. It is a serious problem for me because customers abandon sales when they get to 4-Payment Information. The screen scrolls all the way down on this step of the check-out (perhaps because I have a few different options in 3-Shipping Method and also a Delivery Comments section and Gift Options section there). Customers then do not see the Payment options at all. I've tried some of the steps here but I was not able to fix this problem:
Product pages load at the bottom of the screen
I've tried to follow these suggestions but they did not work either:
I've put that code in the "onepage.phtml" file in:
/public_html/app/design/frontend/base/default/template/checkout
(it just shows me the steps to go through 1, 2, 3....etc but does not open step #1 automatically and it cannot even be opened by clicking on it)
Just to clarify browser compatibility - this happens on all the browsers I've tested - Chrome, Opera and IE.
The solution that worked for me is the one from Chirag Rajput:
I've put this code:
<script type="text/javascript">
jQuery(window).bind("load", function() {
jQuery(this).scrollTop(0);
});
</script>
in the onepage.phtml file in:
/public_html/app/design/frontend/base/default/template/checkout
There are a few questions that remain though:
1. it almost brings the Payment options on the one-page-checkout too far up (all the way) so that now the Payment options are presented on the bottom of a 15.6" display and the CONTINUE button (being right underneath) is no longer visible and customers will now have to scroll down to see it and click it. Is there any way to display the landing page just right? (not all the way to the bottom but also NOT all the way to the top?) and 2. would this change, change it for all other pages? (front page, product page etc.)