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

Display atributes filter for specyfic category

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.

Is it possible to create filters based on product attributes that are displayed only for product category that I want? I mean this filter will apear in only product category named"Category 1. In other"category 2" Category"3 will not display.

 

Hello

Yes, you can do this! There are two methods:

Method 1: Using Conditional Widgets Plugin

  1. Install a plugin like "Conditional Widgets" or "Widget Options"
  2. Add a Text/HTML widget to your sidebar
  3. Insert WOOF shortcode: [woof] 
  4. In the widget settings, set condition:
    • Show only on: is_product_category('category-1-slug')

Method 2: Using Custom Widget Logic Plugin

Install this plugin: https://github.com/realmag777/Show-WordPress-Widget-by-Logic

Then add logic rules to your widget:

Examples of conditional logic:

Show only on Category 1:

is_product_category('category-1')

Show on Category 1 OR Category 2:

is_product_category(array('category-1', 'category-2'))

Show on all categories EXCEPT Category 3:

is_product_category() && !is_product_category('category-3')

Show only on parent category (not child categories):

is_product_category('parent-slug') && !is_paged()

How to use:

  1. Create widget with WOOF shortcode [woof]
  2. Add conditional logic to widget settings
  3. Widget appears only where you specified ✅

Also read: https://products-filter.com/shortcode/woof