Jump to content

How do I hide the "add to cart" button on only one product page

Recommended Posts

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Edit product > Additional Info > Add a Code Block > Paste this code

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
7 hours ago, Michellenk said:

Thank you so much! You're a life saver!

I see on tablet, the text a bit narrow, on about us page

You can add this to Design > Custom CSS to increase width

/* about us text width */
@media screen and (max-width:991px) and (min-width:768px) {
div#page-55cb9caae4b04e605ee2d6da>.row>.span-8 {
    width: 100%;
}
}

image.thumb.png.63f09c1c03fb4135937d7259829c8aa2.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Thank you! very helpful!

Unfortunately the first code to hide the "add to cart" stopped working and now it is showing on all products again.

I pasted the code into each page under settings -> code injection.  (see screenshot below)

Do i need to put the code on each product individually instead?

https://nktextile.com/solids/charisma

Yesterday I added a "scroll to top" code, could this have interfered?

Untitled.jpg

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.