Jump to content

Hide "Add to cart" button

Go to solution Solved by Ziggy,

Recommended Posts

Hello,

I want to use my Squarespace website as catalog. So I need the product listing but I would like to hide the "add to cart" button. I contacted the support and there is no way to do so from the administration. 
Does someone dealt with this problematic before? If you guys have a custom code to send me it would be awesome. 

Thanks a lot,

Mathieu

Link to comment

Hi @MathieuHernandez, this should get you started, add to your Custom CSS:

.sqs-add-to-cart-button-wrapper {
  display:none;
}

Do you have any individual product blocks on your website? i.e. not on the products page?

Please like and upvote if my comments were useful to you. Thanks!

Zygmunt Spray
Squarespace Website Designer
Contact me: https://squarefortytwo.com/ 
🔌Ghost Squarespace Plugins (Referral link)
Buy me a coffee

Link to comment
  • Solution

Sorry that didn't work, can you try this instead:

.ProductItem-details-checkout .sqs-add-to-cart-button-wrapper .sqs-add-to-cart-button {
  display:none;
}

 

Please like and upvote if my comments were useful to you. Thanks!

Zygmunt Spray
Squarespace Website Designer
Contact me: https://squarefortytwo.com/ 
🔌Ghost Squarespace Plugins (Referral link)
Buy me a coffee

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.