I have discovered that all of the swatches on the SHOP page for every single variation product have the class “disabled” attached to them. I would like them to be disabled only if they are out of stock, and style the cross accordingly afterwards.
I hope this info adds up to the solution, if any.
Thanks again.
Not showing cross for Single Variations (provided by another plugin)
Marina Rodrigo Sanchez
Hello,
This may be a tricky one, but I’m out of options so I’m requesting some help.
I have your great plugin installed because I need variation swatches in shop, archive + product pages too. But in my store, some of the variations are shown as single products (even though they’re really variations of one product) with an external plugin called WooCommerce Show Single Variations On Shop & Category Plugin by codeincept (codecanyon.net).
The problem is, when some variation is out of stock, a cross appears inside the single product page, but NOT on the shop page where it is listed as a single variation. I think it will be more clear with images (I’ve written some small explanations of what you’re seeing):
I am aware that this may be out of the scope of this support because it involves another plugin, but if you could at least point me in the right direction, I would appreciate it a lot.
Thank you.