Shopify themes, liquid, logos, and UX
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!
.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.
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!
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
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
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024