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?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
On 3/30/2022 at 8:24 PM, 9uan said:

www.markedeu.com

Can you share link to page where we can find sold out product? I Don't see any sold out products here https://www.markedeu.com/shop

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

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

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.