Jump to content

Replacing the listed price to "sold out" on all sold out items

Recommended Posts

Hi! Is it possible to get a css code for replacing the price to "sold out" on all sold out items?

I have tried to do some custom coding myself but I could only get it to appear underneath my price on my shop page and this has created some bugs on the IOS shop page. It would also look a lot better if it could just be replaced with the price and I believe this will solve both issues if possible. 

Thanks a ton in advance. 

 

 

Edited by 9uan
Link to comment
1 hour ago, 9uan said:

Hi! Is it possible to get a css code for replacing the price to "sold out" on all sold out items?

I have tried to do some custom coding myself but I could only get it to appear underneath my price on my shop page and this has created some bugs on the IOS shop page. It would also look a lot better if it could just be replaced with the price and I believe this will solve both issues if possible. I've attached screenshots.

Thanks a ton in advance. 

Screenshot 2022-03-29 at 13.29.59.png

Screenshot 2022-03-29 at 13.29.59 copy.png

Can you share your site with the protected password so we can take a look?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

What is the link to access your site?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
22 hours ago, 9uan said:

Try and go to the last pages!

Add to Design > Custom CSS

/* replace sold out price with sold out text */
div.sold-out .grid-prices {
    display: none;
}
body.view-list .product-mark.sold-out {
    color: black;
}

 

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

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.