Jump to content

How to hide 'add to cart' button on certain stores in 7.1

Recommended Posts

Site URL: https://www.fleurswholesale.com/

Hello, I would will have two areas to my site, public and members only. I do not want the price or add to cart button to display on the store on the public pages, only on the members only pages. 

I currently have the public area and member only area set up as two separate pages, however they will be duplicates of each other with the only difference being the visible price and add to cart.

 

https://www.fleurswholesale.com/

password - flowerpower

Link to comment
  • Replies 5
  • Views 355
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

12 hours ago, BONICA said:

Site URL: https://www.fleurswholesale.com/

Hello, I would will have two areas to my site, public and members only. I do not want the price or add to cart button to display on the store on the public pages, only on the members only pages. 

I currently have the public area and member only area set up as two separate pages, however they will be duplicates of each other with the only difference being the visible price and add to cart.

 

https://www.fleurswholesale.com/

password - flowerpower

Add to page Header, page where you want to hide add to cart

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

Link to comment
On 7/30/2021 at 10:08 AM, tuanphan said:

With specific products >> edit product >> Additional Info >> Add a Code Block >> paste the code

Is there a code to hide Quantity, variants? I am looking to hide these as well

 

 

Screen Shot 2021-08-06 at 7.16.50 PM.png

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.