Shop owner using the Retina theme requests a way to visually indicate out-of-stock product variants (sizes and colors) for a hand-knitted dog sweater.
Context: Variants are product options (e.g., size, color) that each have their own stock levels. Currently, customers must click through each variant to discover availability, which is hard to identify visually.
Desired behavior: Grey out or strike through unavailable options so visitors can quickly see what’s out of stock without trial-and-error clicking.
I’m using the Retina theme and run a dog themed shop where there are sizes and colors for a certain sweater.
It’s really hard for a visitor to identify visually what is in stock by clicking on the variants. Is there a way to either grey out or strike out availability when something is out of stock?
I would really appreciate any help on this.
Here’s a link to the page with the issue. If you click through the variants you’ll see
Have you checked your theme settings for this? That’s usually the first place to go when wanting a feature like this. It will usually be in the Product tab or something similar. You paid money for this theme? Check out its settings. It’s there.
You can also add a cross-line.
However, this CSS is not compatible with “Custom CSS”, so for this you can add a “Custom code” / “Custom liquid” section and use this code: