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

[woof_text_filter] > As main search filters current page... It doesn't reset the search...

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.

Hi,

In order to take advanatge of the filters correctly, I replaced the WooCommerce standard product search with your '[woof_text_filter]' as the main search throughout the entire website... It works very well, although have found one issue...

If you're on a page with the results you just searched for... then you go to the top search again, it tries to filter the curent product category/result, VS searching again from the start/reseting... and will likely result in a 'No products found'...

How can you make it so the text search, performs a clean search each time when using the 'main search' input? e.g. can you add a line to the shortcode e.g. [woof_text_filter results_page=""] (just as an example).

Example: (searching for the word, 'badge'...)

1. /products/?filter=1&woof_text=badge   <<<< This is perfect....

But if I search for 'badge' on a category page, for example it does this:

/products/c/some-category/?filter=1&woof_text=badge&paged=1&really_curr_tax=96-product_cat

^ So what i'd like to achieve is no matter what page I'm on, the search results for the top bar will always goto  '/products/?filter=1&woof_text=badge' ... and never use a category indicator.

Update:

Still not working, but using something like this:
[woof by_only="by_text" tax_only="none" is_ajax="0" ajax_redraw="0" redirect="/products/"]

Gives half the required results e.g. ....if you go on a category and search.... it will still wrongly populate the catgeory URL e.g.  /products/c/some-category/?filter=1&woof_text=badge&paged=1&really_curr_tax=96-product_cat...~
BUT, if you refresh on the catgeory....and search again using the header search...it'll redirect to the /products URL correctly.... e.g. /products/?filter=1&woof_text=badge ....

Not sure why a refresh would make it work, it's not to do with template caching (I'm not using any caching plugin).... but even if I go onto the category again...I still have to refresh after a search to make it work.... which isn't right...

I am using Ajax mode for main filtering on categories (I also have text_search on the side filters on categories/products index), as it's just the best way to filter products and keeps the user on the same page...

Although, from my 2nd post above, you can see, I need the header/top search to work without Ajax, and just take the users search results always to /products ...... (note it 'almost' works, but the current bug/issue is you have to refresh the page, then use the top search).... if you can help in getting it to work without a page reload, that would be perfect, or at least what to add to the shortcode to make that search box work without using the Ajax method.

Thank you.

Hello

Please drop  me  exact  link to  the  issue