Primitus Consultancy

View Original

How to hide add to cart button in Squarespace 7.1

Recently, a client wanted a brochure looking website, however, they wanted the 'add to cart' button removed. This feature will not available in Squarespace, so we have to use some css code to achieve this.

Complexity: Easy

See this content in the original post

The above code when placed in Design > Custom CSS applies site wide. If you wish to apply the code to a single product, you will need to identify the section id.

A useful tool you can use to identify the #collection-id, #block-id and section[data-section-id="xxxxx"] is a Chrome Extension called Squarespace ID Finder (https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff) which I fully recommend.

See this content in the original post