Jump to content

How do I Change 'Add to Cart' button on sold out products.

Go to solution Solved by paul2009,

Recommended Posts

Hi, 

I was wondering if there is there a way to edit the 'Add to Cart' button on sold out products so that it redirects to a different page? 

If a product is sold out on our site I'd like to redirect customers to a contact form where they can email us instead, is there a way to do this for just products that are sold out, not every product on our website? 

Attached is a product photo page, I'd like to change 'Add to Cart' to 'Contact Now' and redirect them to our contact page. 

Thanks!

446723529_addtocartbutton.thumb.JPG.203d04679f0dd00baeb0111dabe84e61.JPG

Link to comment
37 minutes ago, MTAustralia said:

Hi, 

I was wondering if there is there a way to edit the 'Add to Cart' button on sold out products so that it redirects to a different page? 

If a product is sold out on our site I'd like to redirect customers to a contact form where they can email us instead, is there a way to do this for just products that are sold out, not every product on our website? 

Attached is a product photo page, I'd like to change 'Add to Cart' to 'Contact Now' and redirect them to our contact page. 

Thanks!

446723529_addtocartbutton.thumb.JPG.203d04679f0dd00baeb0111dabe84e61.JPG

Do you mean that with the product marked with sold out, when user click on add to cart, it will redirect to another page (the page with form)?

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

Basically, we can set the condition of sold out product to redirect the add to button to another link by some javascript code which is only available on the business plan or above ones. What is your current plan?

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
  • Solution
8 hours ago, MTAustralia said:

If a product is sold out on our site I'd like to redirect customers to a contact form where they can email us instead, is there a way to do this for just products that are sold out, not every product on our website? 

Squarespace has a built in feature called product waitlists.

After you enable product waitlists, a signup box will display on the product details page when a sold out variant is selected. Waitlists display on all sold out products, prompting the user to provide their email address. 

Waitlist_Signup.png

For more information, see Product waitlists.

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment
1 hour ago, MTAustralia said:

Ok great, that will help somewhat, but there's no way to change it to showing a different button?

You can do it. The detail you can get reference from Squarespace tutorial:  

 

image.thumb.png.a7459390b83926518fad051c454ed24d.png

 

 

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

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.