Hi
On a productpage, we show variants options. So if a sweater is available in blak or white, and size small, medium, large - we show this using the variants and options loop.
However, if variants have been available earlier, but have been deactivated in the on the product, these variant are also included in the variants / options loop.
This results in outputing variant options in the size and color selector, where there no match when eg. selecting the inactive color og inactive size.
How can we get only available/active variant options in the variants options loop?
/Hans