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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 5 months later...
  • 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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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  ⬇️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Link to comment
  • 1 month later...
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  ⬇️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

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
  • 5 months later...
  • 3 months later...

Hi - I'm having the same problem as some others. I've tried a number of the css variations but can't get it to work. I want prices to show for items that are available in their overlay on the main sale page (ktaylorcreative.com) but either want them hidden (ideally) or to say 'Sold Out' for those that aren't available. Then I also want the prices hidden on each sold item page. Any help would be much appreciated!

Link to comment

Nevermind! I figured it out. Thought when I saved css changes it would automatically be reflected, but I think I just needed to refresh the page. This ended up working for me:

/* hide sold out price */
.sold-out .product-price {
  display: none !important;
}

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.