Faustas Posted May 8, 2020 Posted May 8, 2020 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.
vincepapaix Posted May 9, 2020 Posted May 9, 2020 (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 May 10, 2020 by vincepapaix tuanphan and KevisHouseGallery 2
Faustas Posted May 15, 2020 Author Posted May 15, 2020 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.
KevisHouseGallery Posted June 3, 2020 Posted June 3, 2020 vincepapaix - After a fair bit of searching for the solution - your code worked at treat!
alifelessordinary Posted September 30, 2020 Posted September 30, 2020 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
tuanphan Posted October 2, 2020 Posted October 2, 2020 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!)
Abbodabby Posted March 14, 2021 Posted March 14, 2021 (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 March 14, 2021 by Abbodabby
tuanphan Posted March 28, 2021 Posted March 28, 2021 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!)
qurated Posted September 22, 2021 Posted September 22, 2021 Any updates @tuanphan? I'm also curious. My website is www.qurated.co/shop
tuanphan Posted September 23, 2021 Posted September 23, 2021 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 Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
VincentLussier Posted January 9, 2023 Posted January 9, 2023 Site URL: https://www.vincentlussier.com 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
tuanphan Posted January 13, 2023 Posted January 13, 2023 On 1/9/2023 at 9:15 PM, VincentLussier said: Site URL: https://www.vincentlussier.com 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!)
Katushka Posted March 11, 2023 Posted March 11, 2023 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!
tuanphan Posted March 12, 2023 Posted March 12, 2023 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!)
RevivalHouseAntiques Posted July 13, 2023 Posted July 13, 2023 Hi, I tried both of the codes provided and the sold price is still appearing. My shop is RevivalHouseAntiques.com
paul2009 Posted July 13, 2023 Posted July 13, 2023 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.
HOH Posted August 14, 2023 Posted August 14, 2023 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
paul2009 Posted August 14, 2023 Posted August 14, 2023 (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 September 30 by paul2009 Updated for Summary Blocks HOH 1 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.
HOH Posted August 14, 2023 Posted August 14, 2023 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. Jackie123 and paul2009 1 1
EstherWJ Posted January 29 Posted January 29 On 8/15/2023 at 2:39 AM, HOH said: You are the best. Thank you SO much. works a treat on current ss version tyyyyy :)
KTay03 Posted May 15 Posted May 15 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!
KTay03 Posted May 15 Posted May 15 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; }
Jackie123 Posted September 30 Posted September 30 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
paul2009 Posted September 30 Posted September 30 (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 September 30 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.
Jackie123 Posted October 1 Posted October 1 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment