Hello,
when I’m trying to disable a variation, it seems that working partially in front-end swatches.
Here are the steps:
1) the Enabled checkbox is unchecked in the specific variation of the product
https://pasteboard.co/I6Bfznw.png
2) when I am on frontend on archives (shop page, category) the disable variation, correctly, not displayed below the featured image. But when I choose to add a variation to the cart or in the single product page the variation still displaying (with a strange format of the image)
archives: https://pasteboard.co/I6BhYpw.png
single product: https://pasteboard.co/I6Bihn1.png
It seems that somewhere you applied the code to hide disabled variations and somewhere you did not. Or it is something that I do not understand.
Any help to hide the disabled variation from everywhere in the frontend?
Thanks!