Faustas Posted May 8, 2020 Share 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. Link to comment
vincepapaix Posted May 9, 2020 Share 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 Link to comment
Faustas Posted May 15, 2020 Author Share 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. Link to comment
KevisHouseGallery Posted June 3, 2020 Share Posted June 3, 2020 vincepapaix - After a fair bit of searching for the solution - your code worked at treat! Link to comment
alifelessordinary Posted September 30, 2020 Share 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 Link to comment
tuanphan Posted October 2, 2020 Share 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 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
Abbodabby Posted March 14, 2021 Share 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 Link to comment
tuanphan Posted March 28, 2021 Share 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 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
qurated Posted September 22, 2021 Share Posted September 22, 2021 Any updates @tuanphan? I'm also curious. My website is www.qurated.co/shop Link to comment
tuanphan Posted September 23, 2021 Share 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 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
VincentLussier Posted January 9 Share Posted January 9 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 Link to comment
tuanphan Posted January 13 Share Posted January 13 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 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
Katushka Posted March 11 Share Posted March 11 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
tuanphan Posted March 12 Share Posted March 12 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
RevivalHouseAntiques Posted July 13 Share Posted July 13 Hi, I tried both of the codes provided and the sold price is still appearing. My shop is RevivalHouseAntiques.com Link to comment
paul2009 Posted July 13 Share Posted July 13 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
HOH Posted August 14 Share Posted August 14 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
paul2009 Posted August 14 Share Posted August 14 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 ⬇️ HOH 1 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
HOH Posted August 14 Share Posted August 14 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. paul2009 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment