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 by variations

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.

I created a filter for the size attribute. The problem is that it also shows me items that do not have variations for that attribute. How can I make it show only products that actually have variations?

Hello

The shop page displays simple and parent products (this is how the template works).  And this means that in fact the parent product has such an attribute.

 

Thanks for the reply. So if I have a shirt with size attributes M, L, S but I only have an M variation, does the filter show me the M even if I search for L or S?

If your parent product has these attributes, the filtering result will return it.

Your shop template shows the parent product (not variants). Variants are a different type of post.

In fact: If there is a product in the database with attributes S, M, L then the search query"Take all products that have the attribute M" this product will be included in the search result