Woocommerce hide variation dropdown with only 1 option

Viewed 952

I have some products with a specific attribute which most of the times has a single option.

If that is the case, i'd like to hide the option picker (drop-down) on my product page.

The attribute is called package size and it is set to one by default for all products. But it is confusing for the customer too see the option picker if there is only one option available.

I'd like to remove it for products with only one package size option.

Any ideas ?

Greetings

0 Answers
Related