Jump to content

From first to second page same position


Recommended Posts

hi, it happens to me that when I go to the second page of a product category, the page does not open at the beginning but at the end as in the screenshot. I hope I have been clear. I use prestashop with php 7.3. Has anyone already happened?1652412094_Immagine2021-09-07210014.thumb.jpg.bf42bedcb3fc5c2344e9ec4084f7f420.jpg2145632257_Immagine2021-09-07210035.thumb.jpg.f994bf13b3c3a03e34395c80a00940f4.jpg

Link to comment
Share on other sites

  • 5 months later...

Try this js code:

$(document).ready(() => {
    prestashop.on('updateProductList', () => {
        let target = $("#wrapper");
        if (target.length) {
            $('html, body').animate({
                scrollTop: target.offset().top+350
            }, 500);


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...