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

Two filter shortcodes/widgets on a page - solution?

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 need to find a way to have two filter shortcodes on one page (homepage).

The idea is to have two different filters for two different product categories which will filter by different taxonomies and be redirected to different product category pages.

For example:

  • Filter #1: Product category #1 > tax1>tax2 -> redirected to /products/category1
  • Filter#2: Product category #2 > tax3>tax4 -> redirected to /products/category2

Any idea on how can I achieve this? Thank you!

Hello

Unfortunately the plugin does not have this feature.

This is possible only if the filter immediately redirects to another page, without ajax redrawing

Please advise on how can I set it up without ajax redrawing, it's fine for it to immediately redirect to another page.

Also, just thought, is there any way to re-init woof shortcode when lets say button is pressed in Javascript? so on tab change where two separate shortcodes are I would make re-init woof filter, would that work?

Hello

 it's fine for it to immediately redirect to another page - Try  to  use  redirect( https://c2n.me/4cTi6II.png )  - https://products-filter.com/shortcode/woof/

re-init woof shortcode when lets say button is pressed in Javascript? - I think it's possible - this function can help you - https://share.pluginus.net/image/i20210803124748.png - in  file - \wp-content\plugins\woocommerce-products-filter\js\front.js