Hi I am having a hard time greying out/adding strikethrough to sold out variants. I have tried to add the codes most people suggest into the base.css but non of them are working. Here is my site https://thelokigiftshop.com/products/hello-pumpkin-corded-sweatshirt-in-orange?variant=46463010013492
TIA!!!
Hi @thelokishop
- Go to Online Store → Theme → Edit code.
- Open your theme.liquid file
- In theme.liquid, paste the below code before
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
1 Like
thanks so much for your response! is this the right spot? it is not working on my site still
1 Like
No worries and no, this is not the correct position. You are putting this above but you need to put it under and before its closing tag that is
1 Like
@thelokishop is it working now?
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
1 Like
lol sorry not a coding girl. i think this is right? but its not working
I’ve checked your store and it is there working fine. Am I missing something?
so sorry. i didnt explain correctly. i was wanting the sold out variant options to be greyed out and strike through. hope this makes sense