Hi,
I’m wanting to cross out the unavailable variant similar to below.
Can anyone tell me if this is possible in the Prestige Theme?
Thanks so much!

Users are seeking to add a strikethrough effect to unavailable or sold-out product variants in the Prestige Shopify theme.
Initial Solution Proposed:
.unavailable-variant { text-decoration: line-through; } to the theme’s CSS filevariant.available is false in the liquid templateImplementation Challenge:
variant.unavailable code; it uses conditional logic like “if variant available” insteadCurrent Status:
Hi,
I’m wanting to cross out the unavailable variant similar to below.
Can anyone tell me if this is possible in the Prestige Theme?
Thanks so much!

Please share your website URL and password if any. I will check and provide a solution here.
Thanks!
Thank you so much!
You should create a class for strikethrough and add this class for variants where variant. available is false in the liquid template.
The CSS for the class would be something as simple as:
Add the following at the bottom of your assets/theme.css file.
.unavailable-variant {
text-decoration: line-through;
}
Thank you. I have added the CSS to asset file, but not sure how to find the variant returning as false in the liquid.
Are you able to help any further?
Thanking you.
If you see the above CSS code it only targets the unavailable variants so no need to go and check in liquid.
As you said you added code in CSS file. Is this working for you?
If this works then no need to change in liquid.
Let me know.
Hi,
No it hasn’t made any changes to the website - all variants are still showing as normal.
In the product page liquid, there’ no variant.unavailable code, it only has something along the lines of “if variant available”. Is it possible to work around that?
Hello,
I would like to add a strike through for out of stock items.
Currently on the prestige theme.
Could you please help me out.
Thank You
Please share your store URL and a screenshot.
I sent you a PM
Hi,
I’m wanting to cross out the unavailable variant.
Can anyone tell me if this is possible in the Prestige Theme?
Thanks so much!
Hey, i have the same issue.
Hello,
I would like to add a strike through for sold out products.
Currently on prestige theme, could you please help me out.
URL: https://www.starin.in/products/ivory-backless-ruched-dress
Thank You
Can you also help me with this issue? I want to show the unavailable sizes crossed out and if possible in red.
My website is dimano-clothing.com and theme is prestige