Jump to content

How do I remove the add to cart button for only one product on a page - Five Template

Recommended Posts

Posted

Site URL: http://www.joannagresik.com/previous-collections/left-turn

Hi There, 

I have a few select paintings listed on a product page on my website, but I am selling them through a gallery, so I don't want people to be able to purchase them on my website. I want them to click on the link to go to the galleries website. But I want them to be able to purchase the other paintings on the page that are not at the gallery. 

Is there a way to do this with the Five Template in Squarespace 7.0 without removing all of the Add to Cart buttons? 

Haven't been able to find a clear answer on this yet. Thank you so much! 

  • 1 year later...
  • Replies 2
  • Views 550
  • Created
  • Last Reply

Top Posters In This Topic

Posted
On 8/8/2022 at 11:50 PM, sarahJoy2019 said:

Hi
did you ever find a solution? I want to do the same.
thanks
Sarah

Edit that product > Additional Info > Add a Code Block > Use this code

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

 

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

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.