afaris Posted July 31, 2022 Share 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 Link to comment
Beyondspace Posted July 31, 2022 Share 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? Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
afaris Posted July 31, 2022 Author Share 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. Link to comment
tuanphan Posted July 31, 2022 Share 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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
afaris Posted August 17, 2022 Author Share 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 Link to comment
tuanphan Posted August 21, 2022 Share 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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment