How do I display the price of sold out products?

Shopey
Explorer
63 0 11
Hi guys,

When products are sold out, price doesn't show up. Please help me display the price even it's out of stock.

I have checked previous posts regarding the same issue, but all those codes didn't work for me, may be because those posts were old.

Here is my website:
www.shopey.ae

Waiting for your reply, thanks :)
0 Likes

Hello ,

Add this css at the bottom of

Online Store->Theme->Edit code->Assets->theme.scss.liquid

.price--sold-out .price__regular, .price--sold-out .price__sale, .price--sold-out .price__unit {
    display: block !important;
}
If helpful then please Like and Accept Solution. Free Website Review and advice for sale from Hire us
Shopify Conversion Experts | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | Shopify SEO | Digital Marketing | Site Speed Optimization | Performance Site Audit
For Quick Chat Whats app | Email: pallavi@oscprofessionals.com | Skype : oscprofessionals-87
Shopey
Explorer
63 0 11

Hi oscprofessional,

 

Thanks a lot for your help. It worked but after applying code there are two things which I need to change:

1. Price of sold out items is showing twice; this is not on sale either but one price is shown as sale price.

2. Forward slash is there now. I need to remove that.

 

Please let me know how to solve these two issues as well.

 

Thanks!

 

 

WhatsApp Image 2020-05-15 at 14.14.27.jpeg

 

 

 

0 Likes