afaris Posted July 31, 2022 Posted July 31, 2022 Site URL: https://www.andrewfaris.com/2022/untitled07 Hi, I would like to remove the price and 'add to cart' button on specific product detail pages. Can this be done using tags on the specific products so all products with the 'tag' will have the price and 'add to cart' button removed? What is the best way to do this? Example of one of the product pages with Price and 'Add to Cart' buttons that I would like to hide: https://www.andrewfaris.com/2022/untitled07 Thanks, Andrew
Beyondspace Posted July 31, 2022 Posted July 31, 2022 1 hour ago, afaris said: Site URL: https://www.andrewfaris.com/2022/untitled07 Hi, I would like to remove the price and 'add to cart' button on specific product detail pages. Can this be done using tags on the specific products so all products with the 'tag' will have the price and 'add to cart' button removed? What is the best way to do this? Example of one of the product pages with Price and 'Add to Cart' buttons that I would like to hide: https://www.andrewfaris.com/2022/untitled07 Thanks, Andrew I can not see the add to card button and price on this page. Do I miss any of your point? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> No-code customisations for Squarespace
afaris Posted July 31, 2022 Author Posted July 31, 2022 I found a work around, but it is not very efficient. It requires modifying each page that I would like to remove the price and add to cart button. I was hoping to be able to use tags and code to make universal changes.
tuanphan Posted July 31, 2022 Posted July 31, 2022 36 minutes ago, afaris said: I found a work around, but it is not very efficient. It requires modifying each page that I would like to remove the price and add to cart button. I was hoping to be able to use tags and code to make universal changes. Which code did you use? We can use tag to do for many products. 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!)
afaris Posted August 17, 2022 Author Posted August 17, 2022 On 7/30/2022 at 8:38 PM, tuanphan said: Which code did you use? We can use tag to do for many products. Hi tuanphan, I was using this code: <style> .sqs-add-to-cart-button-wrapper { display : none; } </style> I had placed it on the Page Header Code Injection, but the problem with this is that it hides all the Add to Cart buttons for all of the products on the page. I would like to individually hide Add to Cart buttons on specific products. I am using the Supply Template which is a 7.0 site. Here is an example of a Product Page which I would like to remove the Add to Cart button. I appreciate any help you can provide. https://www.andrewfaris.com/2022/30x40-untitled01
tuanphan Posted August 21, 2022 Posted August 21, 2022 On 8/18/2022 at 1:06 AM, afaris said: Hi tuanphan, I was using this code: <style> .sqs-add-to-cart-button-wrapper { display : none; } </style> I had placed it on the Page Header Code Injection, but the problem with this is that it hides all the Add to Cart buttons for all of the products on the page. I would like to individually hide Add to Cart buttons on specific products. I am using the Supply Template which is a 7.0 site. Here is an example of a Product Page which I would like to remove the Add to Cart button. I appreciate any help you can provide. https://www.andrewfaris.com/2022/30x40-untitled01 Edit product > Additional Info > Add a Code Block > Paste the code <style> /* Remove add to cart */ div.sqs-add-to-cart-button-wrapper { display: none !important; } </style> Venera 1 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment