PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

"JavaScript code after AJAX is done" does not work

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

I created an ID called"filteredTop" in HTML. Then I added to the Advanced tab of the plugin:

jQuery('html, body').animate({
scrollTop: jQuery("#filteredTop").offset().top
}, 777);

emptied server and browser cache and filtered the products.
But the page stays at the top instead of animating to the ID.

URL: https://moowy.co.uk/product-category/all-products/

Thanks,

Cees

Hello

You are not using ajax mode

Please  read this - https://products-filter.com/auto-scroll-to-products-after-their-filtering-in-redirect-mode/

Nice!! That works.

But in the manual it says to add the code to"functions.php". I think you mean"footer.php"?

hello

Yes!  But  better  add  it  to functions.php and  use  hook  -"wp_footer"