Issue: The variant picker shows sold-out options with strike-through text. The poster wants to remove this visual styling so sold-out options look the same as in-stock options.
Constraint: Even without the strike-through, sold-out variants must remain unpurchasable (i.e., cannot be sold/added to cart).
Attempted approach: The poster inspected the product-variant-picker.liquid file to find where to adjust this behavior but did not find anything obvious to modify.
Ask: Guidance on how to disable or override the strike-through styling while keeping out-of-stock variants non-selectable/non-sellable.
Status: No solution or code changes provided yet; the request remains open and unresolved.
on my variant picker, some items are sold out and have a strike through the wording. is it possible to remove the strike through and make it look like exactly like inventory that is in stock, but still keep it to where I can’t sell items that are out of stock.
I was thinking it would be in product-variant-picker.liquid, but nothing is really sticking out to me to solve what I’m trying to do.
At minimum provide working details , other people are not mind readers that magically have your exact same setup or know what it is.
i.e. the theme name etc
Hi, with Rubik Variant Images & Swatch, you can easily control how sold-out variants look on your variant picker. You can either hide sold-out swatches completely or remove the strike-through line so they look exactly like in-stock options, while still preventing them from being purchased.
To help you get to know our app better, I’m sharing the video below.
If you have any questions related to the setup, our support team will be happy to assist you.
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
ok, I have found something very close. I’ve added color black to it which gets the color, but the radio is still a bit gray. how can I change the variant radio to be black and not gray on dawn?