Jump to content

Add to cart button CSS

Recommended Posts

  • Replies 3
  • Views 3.7k
  • Created
  • Last Reply
5 hours ago, tuanphan said:

Edit Product > Add Code Block > Insert this code


<style>
  .sqs-add-to-cart-button-wrapper {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}
</style>

 

Thanks a lot for this Tuanphan! I wonder if you could help with this:

So I have a cakes/bakes business where I sell bespoke cakes and other bakes. 

I want my customers to be able to browse my bespoke cakes and their respective prices (as per the variants)- I have done this by disabling the cart button 🙂

However, I actually want there to be an 'order this cake' button that redirects to my order form. Is there a way to do this?

 

Secondly, I do have some standard items that I do want to be purchased online- so is there a way to still have the 'Add to Cart' button on these items?

 

Thanks in Advance 🙂

Link to comment
On 5/20/2020 at 9:57 PM, estherests_ said:

Thanks a lot for this Tuanphan! I wonder if you could help with this:

So I have a cakes/bakes business where I sell bespoke cakes and other bakes. 

I want my customers to be able to browse my bespoke cakes and their respective prices (as per the variants)- I have done this by disabling the cart button 🙂

However, I actually want there to be an 'order this cake' button that redirects to my order form. Is there a way to do this?

 

Secondly, I do have some standard items that I do want to be purchased online- so is there a way to still have the 'Add to Cart' button on these items?

 

Thanks in Advance 🙂

Yes. You can

Q1. You can add Button Block

Q2. You can add tag: have-cart for these products, then share link to an example product. I will share the code to show add to cart.

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.