• Resolved alfredo1216

    (@alfredo1216)


    Hello,

    I have a question to see if anything can be done.

    In the personalization section of the blog, specifically in pagination I have selected “Infinite Scroll” which looks very good.

    Now, on the products page I use the WooCommerce shortcodes “[products limit=”15″ paginate=true orderby=”rand”]” in which I want to have them with pages and their buttons. It happens that even though I have the shordcode in pagination and I have the numbers to change the page, it continues to load with the “infinite scroll”.

    https://i.ibb.co/XCZL5nF/image.png

    Any code that I can modify or something to disable the “Infinite Scroll” in WooCommerce shordcodes or for my products.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @alfredo1216

    Could you please post your website’s URL so we can check a few things out?

    The pagination thing doesn’t seem to come from our theme and testing the shortcode on our localhost setups does not show it and correctly inherits the settings from the customiser. That would be the correct behaviour and cannot be changed, unfortunately, due to the way the [products] shortcode works like.

    Thanks.

    Thread Starter alfredo1216

    (@alfredo1216)

    Yes, the website’s URL is https://tuproyectoya.com/tienda/

    For the Shorcode, I have a pagination which is the one shown. But it is not useful since it keeps charging with the “Infinite Sroll”.

    That is what I want to avoid, that in the blog section it is with “Infinite Sroll” but here the products load differently so that they can turn the page with the buttons that I added.

    Thanks,

    Hello @alfredo1216

    Ok, let’s back it up a bit.

    The [products] shortcode will create a WooCommerce loop, which will inherit the settings from the Customiser -> Product Archives section. This is simply how the system works like and there’s no way around it, unless Woo’s developers change how things work. Sorry about that, but our hands are tied on this one. You could try adding paginate=”no” to it to somehow ignore the pagination settings from the theme, but I’m not sure if the jet filters pagination will still work.

    Now, the page numbers that you see are a (wrong) addition by the jet filters plugin that you have installed. These *should* not be there, so to speak.

    Hope this clears things up!

    Thanks.

    Thread Starter alfredo1216

    (@alfredo1216)

    Solved,

    I didn’t know you had a pagination setup for products. Simply deactivate it and the pagination of my products and the “Infinite Scroll” for blog posts are already working.

    Thank you for your prompt attention.

    Great. Glad we’re on the same page now. ??

    Take care.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Pagination (Post and Products)’ is closed to new replies.