Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Hide sold item price


Recommended Posts

Site URL: https://www.mozerisfineantiques.com/discover

Hello,

I wish to hide the price of an item once it has sold on my website.

I've researched many forum threads, talked on live chat, tried many codes. But have not come across desirable result. It would end up hiding all prices.

Please see my website https://www.mozerisfineantiques.com/discover

I have managed to set the prices to £0, but I wish to have no price on sold item, just to say "Sold".

Any help would be greatly appreciated, thank you.

 

Link to comment

Hello,

I was looking for the same thing, I'm no expert in CSS but this worked for me for the template 'Marta'

in Design -> custom CSS add the following code

.sold-out .sqs-money-native { display:none }

-> the price is now hidden for sold items (out of stock) on all pages displaying the products

I'd be happy to hear if this code is not reliable.  

see the example on the website:
https://www.erinharrison-art.com/shop

cheers
Vincent.

 

Edited by vincepapaix
Link to comment
On 5/9/2020 at 6:15 PM, vincepapaix said:

Hello,

I was looking for the same thing, I'm no expert in CSS but this worked for me for the template 'Marta'

in Design -> custom CSS add the following code


.sold-out .sqs-money-native { display:none }

-> the price is now hidden for sold items (out of stock) on all pages displaying the products

I'd be happy to hear if this code is not reliable.  

see the example on the website:
https://www.erinharrison-art.com/shop

cheers
Vincent.

 

Thank you so much Vincent.

Hero, been looking ages for this.

Link to comment
  • 3 weeks later...
  • 3 months later...
On 5/9/2020 at 6:15 PM, vincepapaix said:

Hello,

I was looking for the same thing, I'm no expert in CSS but this worked for me for the template 'Marta'

in Design -> custom CSS add the following code


.sold-out .sqs-money-native { display:none }

-> the price is now hidden for sold items (out of stock) on all pages displaying the products

I'd be happy to hear if this code is not reliable.  

see the example on the website:
https://www.erinharrison-art.com/shop

cheers
Vincent.

 

Hello, I just used this and it worked great. However it has also removed the price of the 'related products' featured on sold out items pages. Is there a way to keep this price on show? 

Any help would be much appreciated. 

Thankyou Emma 

Link to comment
On 10/1/2020 at 4:01 AM, alifelessordinary said:

Hello, I just used this and it worked great. However it has also removed the price of the 'related products' featured on sold out items pages. Is there a way to keep this price on show? 

Any help would be much appreciated. 

Thankyou Emma 

use this code

.sold-out .sqs-money-native { display:none; }
.view-item .sold-out .sqs-money-native { display:block; }

 

Link to comment
  • 5 months later...
  • 2 weeks later...
On 3/15/2021 at 5:41 AM, Abbodabby said:

Has anything changed with this code? I can't seem to get it to work in 7.1.


.sold-out .sqs-money-native { display:none }

Can you share link to your site? We can check again easier

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...