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

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

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?

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

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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

 

 

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

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.