How to Exclude Attributes / Variations

Some shops have shirts with 2 variation attributes – one for the color and one for the size. That would for example be 20 variations if you have 2 colors and 10 sizes (10 x 2).

An example here, you can see the size variation displays for each T-Shirt:

variations show size attribute
variations show size attribute

But most of the time you only want to show one attribute variation (e.g. the color one). To do this enable the following settings.

Exclude attribute in Plugin settings

  1. Make sure you have clicked on init variations. Try reset before.
  2. Go to plugin settings > variation title > exclude the attribute you do not want to show in the title (e.g. pa_size)
  3. Go to to plugin settings > exclusions > choose the attribute you want to hide.
  4. Enable “Keep First Variation” and “Remove Term from Permalink” if you want
exclude size attribute from shop loop
exclude size attribute from shop loop
exclude size attribute from variation title
exclude size attribute from variation title

This will remove all variation products, that are assigned to a size attribute. So if you enable this you will see no products anymore maybe.

after size is excluded
after size is excluded

 

Leave a Reply

Your email address will not be published. Required fields are marked *