I made the Products filter in the Template for WooCommerce-Product archive.
Please, does anyone know how to make the filter only show the attributes that the products in that category have?
For example If I sell tires and mobile phones that in the Tires category shows only brands for tires, not mobile phones brands. Also not to show Color attribute if the tires category, because tires do not have color attributes.
I am willing to pay something or donate that you add those hide option feature into the filter, instead that to go looking for third part and pay to them.
Please tell me what do you think?
And for what is those “Show empty terms” option (see screenshot), at first looks like what I need?