Jump to content

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; }

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 5 months later...
21 hours ago, qurated said:

Any updates @tuanphan? I'm also curious. My website is www.qurated.co/shop

Add to Design > Custom CSS

/* Hide sold out price */
.sold-out .product-price {
    display: none;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 1 year later...

 

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.vincentlussier.com

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.

Vincent

Link to comment
On 1/9/2023 at 9:15 PM, VincentLussier said:

 

 

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.vincentlussier.com

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.

Vincent

Hi,

Can you share link to a sold out product? We can check easier

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 1 month later...
On 9/23/2021 at 10:27 AM, tuanphan said:

Add to Design > Custom CSS

/* Hide sold out price */
.sold-out .product-price {
    display: none;
}

 

This worked for me but only on the page of the actual sold out product. However, when I look at the entire shop page, the sold out products show the price of 0,00. Does anyone have suggestions of how to make the price invisible everywhere - on the product page as well as the shop. I am using SS 7.1. thank you!

Link to comment
7 hours ago, Katushka said:

This worked for me but only on the page of the actual sold out product. However, when I look at the entire shop page, the sold out products show the price of 0,00. Does anyone have suggestions of how to make the price invisible everywhere - on the product page as well as the shop. I am using SS 7.1. thank you!

Can you share link to shop page?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 4 months later...
1 hour ago, RevivalHouseAntiques said:

I tried both of the codes provided and the sold price is still appearing.  

@RevivalHouseAntiques Your site is using a very old - now discontinued - template called "Boutique" and requires different CSS.

Please try this:

.show-product-price #productList .product.sold-out .product-price {
  display: none;
}

This isn't related to your question, but I recommend you enable SSL to make your site 'secure'. I suspect this wasn't enabled because your site was built before Squarespace offered SSL 🙂. This guide explains how to enable it.

Did this help? Please give feedback by clicking an icon below  ⬇️

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment
  • 1 month later...

I'm running into the same issue - I have a page called "Sold" where I move sold items and I set the price to zero but I just want the price section removed. Tried both codes with no luck - houseonhorizon.com @paul2009

Link to comment
47 minutes ago, HOH said:

I have a page called "Sold" where I move sold items and I set the price to zero but I just want the price section removed. Tried both codes with no luck

No problem 🙂. The answers above are either out of date (Squarespace have made changes since) or they refer to other templates. 

On your latest Squarespace 7.1 website, you should be able to add this to Custom CSS:

/* Hide prices of sold out products on 7.1 */
.grid-item.sold-out .grid-prices, .sold-out .product-price {
    display:none!important;
}

Did this help? Please give feedback by clicking an icon below  ⬇️

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment
12 minutes ago, paul2009 said:

No problem 🙂. The answers above are either out of date (Squarespace have made changes since) or they refer to other templates. 

On your latest Squarespace 7.1 website, you should be able to add this to Custom CSS:

/* Hide prices of sold out products on 7.1 */
.grid-item.sold-out .grid-prices, .sold-out .product-price {
    display:none!important;
}

Did this help? Please give feedback by clicking an icon below  ⬇️

You are the best. Thank you SO much. 

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...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.