Jump to content

Hide sold item price

Recommended Posts

Posted

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.

 

Posted (edited)

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

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

Posted
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!)

  • 5 months later...
Posted (edited)

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 }
Edited by Abbodabby
  • 2 weeks later...
  • 5 months later...
  • 1 year later...
Posted

 

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

Posted
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!)

  • 1 month later...
Posted
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!

Posted
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!)

  • 4 months later...
Posted
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.

  • 1 month later...
Posted

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

Posted (edited)
On 8/14/2023 at 4:37 PM, 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, if you want to affect Product List Pages (PLPs) and Product Detail Pages (PDPs) 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;
}

If you want to affect Summary Blocks, you can use:

.sqs-block-summary-v2 .summary-item .summary-thumbnail-outer-container:has( .summary-product-status .product-mark ) + .summary-content .summary-price .product-price {
  display : none;  
}

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

Edited by paul2009
Updated for Summary Blocks

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.

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

  • 5 months later...
  • 3 months later...
Posted

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!

Posted

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

  • 4 months later...
Posted
On 8/14/2023 at 12:26 PM, 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  ⬇️

Could more have changed since this was published? I can not get this to work.

https://ellipse-synthesizer-czxb.squarespace.com/just-add-water. password is merrill

 

Posted (edited)
36 minutes ago, Jackie123 said:

Could more have changed since this was published? I can not get this to work

That's because the CSS you've quoted was for Product/Store pages, whereas your page is using a Summary Block instead. To affect Summary Blocks, you can use:

.sqs-block-summary-v2 .summary-item .summary-thumbnail-outer-container:has( .summary-product-status .product-mark ) + .summary-content .summary-price .product-price {
  display : none;  
}

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

Edited by paul2009

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.

Posted
On 9/30/2024 at 10:35 AM, paul2009 said:

That's because the CSS you've quoted was for Product/Store pages, whereas your page is using a Summary Block instead. To affect Summary Blocks, you can use:

.sqs-block-summary-v2 .summary-item .summary-thumbnail-outer-container:has( .summary-product-status .product-mark ) + .summary-content .summary-price .product-price {
  display : none;  
}

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

Thank you!  This worked perfectly.   

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.