Hiding sold out price

New Member
3 0 0

Hi

I was wondering how am I supposed to hide sold out price on my website. I am using the theme debut. 

Tried looking through the forum and trying ti but not much chance here.

Thanks!

0 Likes
Highlighted
Shopify Partner
272 38 43

Hi @EileenTCP 

What's your store URL?

Get help with your Shopify store that you are looking for.
Shoot me an email: denis@thewebave.com
https://thewebave.com/
0 Likes
Highlighted
New Member
3 0 0
Highlighted
New Member
3 0 0

Hi Eileen. 

 

I am struggling with the exact same thing. I dont mind showing that a product is sold out, but I want to hide the price. Did you manage to fix it?

 

Kind regards

Plantlady

0 Likes
Highlighted
Astronaut
1142 191 231

@PlantLady 
@EileenTCP 

1. In your Shopify Admin go to: online store > themes > actions > edit code
2. Find Asset > theme.scss.liquid and paste this at the bottom of the file:

 

.template-product .price--sold-out .price__regular,
.template-product .price--sold-out .price__sale, 
.grid-view-item--sold-out .price__regular,
.grid-view-item--sold-out .price__sale{
    display: none !important;
}

 



Please let me know whether it works.

Kind regards,
Diego

◦ Problem Solved? ✔️ Please click on Accept as Solution and like.
◦ Hire me! Recommended by 25+ customers on Facebook. Click here to read their reviews.
◦ Contact me at: diego.boarutto.fortes@gmail.com
0 Likes
Highlighted
New Member
3 0 0

Thank you very much, it worked!!!!

0 Likes
Highlighted
Astronaut
1142 191 231

@PlantLady 

You're welcome!

Please don't forget to click on the button "Accept as Solution" and "Like" below my answer to help other people in the community with similar issues.

Thanks!

◦ Problem Solved? ✔️ Please click on Accept as Solution and like.
◦ Hire me! Recommended by 25+ customers on Facebook. Click here to read their reviews.
◦ Contact me at: diego.boarutto.fortes@gmail.com
0 Likes