Jump to content

How can you hide price and cart buttons on products in 7.0 (Brine)?

Recommended Posts

How do I hide price and cart buttons? I was doing this successfully using CSS but now the code is no longer working:

/* Hide the price */
.tag-pur .ProductItem-summary .ProductItem-details .product-price .sqs-money-native {
  display: none;
}

/* Hide the add-to-cart button */
.tag-pur .ProductItem-summary .ProductItem-details {
  .sqs-add-to-cart-button-wrapper, .product-quantity-input {
  display: none;
  }
}

The developer where I got the code said it no longer works since Squarespace's July update.

Thanks for any input you can give!

Gayle

Link to comment
  • Replies 2
  • Views 278
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 2 weeks later...
On 11/12/2022 at 6:51 AM, TFraser said:

I would like to hide prices and cart button for all my products but I am on v7.1.  Site is https://nonagon-sunflower-3jhc.squarespace.com/

Thanks,

Terry

Add to Design > Custom CSS

.ProductItem-details .sqs-add-to-cart-button-wrapper {
	display: none !important;
}
.product-price {
	display: none !important;
}

 

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

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.