Jump to content

Is it possible to replace the price of an item to sold out once it's sold?

Recommended Posts

  • Replies 3
  • Views 292
  • Created
  • Last Reply
On 1/18/2021 at 6:37 PM, bigrick said:

Sure, here is the url - https://www.parade-books.com/shop/lme1yoyl4ajfuphc4vnbdy3u8i6o3t

Password - huglin

Thank you

Add to Design > Custom CSS

/* sold out - replace price */
.sold-out .product-price {
    visibility: hidden;
}
.sold-out .product-price:before {
    visibility: visible;
    content: "Sold Out";
    font-family: proxima-nova;
    font-weight: 600;
    font-style: normal;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1em;
    color: rgba(82,82,82,.7);
}

 

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.