How do I display the price of sold out products?

Highlighted
Explorer
51 0 9
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
Highlighted

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;
}
Want to modify or incorporate custom changes on store, Hire us
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Whats app
Free Website Review and advice for sale from Shopify Conversion Experts | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | Shopify SEO ; Digital Marketing & amp | Site Speed Optimization | Performance Site Audit
1 Like
Highlighted
Explorer
51 0 9

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