Jump to content

Editing Add to Cart Button

Recommended Posts

Site URL: https://www.kitjohns.co.uk

Hi there,


I want to remove the 'purchase' / 'add to cart' button on some of my products. But only on particular products. The rest I want the button to remain there.
So the majority of the products will have the button, but some of the products where I don't want the button will not have it showing.

For example here https://www.kitjohns.co.uk/the-map-collection/ill-love-you-until-the-world-stops-turning

I don't want the 'purchase' button showing as want them to purchase from the gallery direct. 


I've trawled the internet and forums and can't find a way to do this?

Thanks in advance for your help.

Link to comment
  • Replies 1
  • Views 430
  • Created
  • Last Reply

On the particular products that you want to remove the button on, add a code block to the additional information of the product and put this code into it

<style>
  .sqs-add-to-cart-button{
   display: none !important; 
  }
</style>

That should do it for 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.