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

Filter result on the same page

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.
Hello, I would like to set up the woof filter plug in on my site, and so I do some tests.

I have a problem, when I filter my articles, a new page opens while I would like the search to be carried out on the same page.
Ok I found the problem, now another arises.

I would like the page once reloaded to scroll automatically to the product level.

I found in the FAQ the subject:"Automatic scrolling of products after their filtering in redirect mode" with a piece of code to paste in function.php

Here is the code:

jQuery (function ($) {
            setTimeout (function () {
                $ ('html, body'). animate ({
                    scrollTop: $ (". woof_products_top_panel_content"). offset (). top - 100
                }, 777);
            }, 333);
        });


This one does not work 'first line error'

Do you have a solution ?

Hello

Please  drop  me  exact  link to the  issue and  a  screenshot of the  code  in functions.php

Hello, the link of the page being created, while waiting for a solution, I redirected to another page

https://www.cococouche.fr/depot-vente-puericulture/

Screen

Hello

Please give me a full screenshot of the file.

as I see now the only place where you added the code is - https://share.pluginus.net/image/i20211230094121.png - but this only works with ajax mode

Hello, I pasted the code in the right place but it still doesn't work. I have activated the option"Try to ajaxify the shop" but it still does not work.

Is it possible to make a menu anchor after redirect?

Example :

initial page www.site.com

filtered products page: www.site.com/filter/#nameofanchor

(URL placed in the"Redirect to" option in widget.

Hello

Please try  to read  this  - https://products-filter.com/auto-scroll-to-products-after-their-filtering-in-redirect-mode  -  I checked your site, you haven't added this code