
Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on June 1, 2022, 11:22
Hello
Yes.
1) In category pages use shortcode - [woof_products] with attribute : taxonomies=product_cat:X Where X id your product category. ( if you use custom page )
2) In widgets use shortcode [woof] with attribute : * taxonomies=product_cat:X
+
tax_only - write taxonomies or products slug using comma
+
by_only - write any by-filter-elements there using comma: by_text,by_price,by_sku,by_author,by_insales,by_instock. Of course firstly user should enable extensions for that by-filter-elements
*- Do not forget set the same condition in [woof_products]
3) For show or hide widgets on different pages - http://www.woocommerce-filter.com/how-to-show-or-hide-widget-only-on-selected-site-pages/
You can read more about shortcodes - http://www.woocommerce-filter.com/documentation/#!/section_3_1
Hello
Yes.
1) In category pages use shortcode - [woof_products] with attribute : taxonomies=product_cat:X Where X id your product category. ( if you use custom page )
2) In widgets use shortcode [woof] with attribute : * taxonomies=product_cat:X
+
tax_only - write taxonomies or products slug using comma
+
by_only - write any by-filter-elements there using comma: by_text,by_price,by_sku,by_author,by_insales,by_instock. Of course firstly user should enable extensions for that by-filter-elements
*- Do not forget set the same condition in [woof_products]
3) For show or hide widgets on different pages - http://www.woocommerce-filter.com/how-to-show-or-hide-widget-only-on-selected-site-pages/
You can read more about shortcodes - http://www.woocommerce-filter.com/documentation/#!/section_3_1

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on June 1, 2022, 12:25
In your case, the redirect occurs because the filter does not see the template for displaying the results.
То test it - please use shortcode [products] OR [woof_products] to show products
OR
add a JS code in header
var woof_not_redirect = 1;
This code will remove the current template check, but this does not mean that the current template will work correctly with filtering
In your case, the redirect occurs because the filter does not see the template for displaying the results.
То test it - please use shortcode [products] OR [woof_products] to show products
OR
add a JS code in header
var woof_not_redirect = 1;
This code will remove the current template check, but this does not mean that the current template will work correctly with filtering