Guest Posted July 8, 2014 Share Posted July 8, 2014 (edited) I finally managed to remove the quantity. I hope it’s gone for good. This answer was helpful, How to disable the “add to cart” button? Edited July 8, 2014 by Guest Link to comment
jnewell Posted July 15, 2014 Author Share Posted July 15, 2014 (edited) Thanks to all who have looked and responded to this thread. We’re having a related issue, the add to cart button is popping up on the top of all our pages and I can’t get it to disappear. Our site is: www.newelldesignstudio.com. I’ve tried the code injection that others have posted in the header area but it doesn’t work. Any help? Thanks! Edited July 15, 2014 by jnewell Link to comment
ahoganson Posted August 4, 2014 Share Posted August 4, 2014 Is there a way to remove these items on a product by product basis? Link to comment
belindab Posted October 4, 2014 Share Posted October 4, 2014 Did anyone work out how to customise the code to apply to only one product and not all product on product page? Where do you edit this code and should the personalisation be in the HTML? Link to comment
pauljendrasiakphotography Posted January 6, 2016 Share Posted January 6, 2016 I tried this code but it did not work. I searched the source and renamed some of the entries. Looks like it works for me now. Link to comment
aniemczyk Posted October 20, 2017 Share Posted October 20, 2017 Hi, I think this thread is awesome, and I'm looking to do the same thing. But before I propose using products to my client, I want to make sure you can actually remove all purchasing indicators. We only make distributor sales. Does anyone have an example of their site where they did this? I'd love to see it in action! My additional concerns that aren't mentioned above are: The cart icon in the header does the 'quick view' or product page link to 'add to cart' even if you visually remove the button? I don't functionality remaining on something I tried to hide. Thanks! Beyondspace and Milton-Creative 2 Link to comment
johny5 Posted June 11, 2018 Share Posted June 11, 2018 Hi, I tried all the codes in Product's Page header Code Injection in Advanced, but the price and "Add to Cart" button are still there. Is there some other code or something else I can do to remove the price and Add to Cart button? This is the link to the Product page:https://www.topgroagro.ca/products/fertilizer Beyondspace 1 Link to comment
MegLaLonde Posted January 13, 2021 Share Posted January 13, 2021 I have a question on adding a variant to the following coding: <style> .product-price { display:none } </style> I have where a given product is also offered at 0.00 for a sample, Ideally I would like to show the price for the goods that are sellable. In this instance the price is 14.55- 16.55. Please advise if I am able to add an exception to the code above to either show pricing range excluding $0.00... Thanks! Meg Link to comment
Beyondspace Posted January 14, 2021 Share Posted January 14, 2021 8 hours ago, MegLaLonde said: I have a question on adding a variant to the following coding: <style> .product-price { display:none } </style> I have where a given product is also offered at 0.00 for a sample, Ideally I would like to show the price for the goods that are sellable. In this instance the price is 14.55- 16.55. Please advise if I am able to add an exception to the code above to either show pricing range excluding $0.00... Thanks! Meg Hi Meg, It would b helpful if you can show your site url to check MegLaLonde 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
AtelieraStickers Posted January 14, 2021 Share Posted January 14, 2021 It seems that there is only the product price which can disappear.. If anyone has a solution to remove the quantity field, it would be awesome !! Thanks Link to comment
creedon Posted January 15, 2021 Share Posted January 15, 2021 1 hour ago, AtelieraStickers said: It seems that there is only the product price which can disappear.. If anyone has a solution to remove the quantity field, it would be awesome !! Please post the URL to the page where you want to achieve this effect. If your site is not public please set up a site-wide password, if you've not already done so. Post the password here. We can then take a look at your issue. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
AtelieraStickers Posted January 15, 2021 Share Posted January 15, 2021 10 hours ago, creedon said: Please post the URL to the page where you want to achieve this effect. If your site is not public please set up a site-wide password, if you've not already done so. Post the password here. We can then take a look at your issue. Thanks, but I found the solution :) the class has changed since the post of 2014, and now you must put an !important to the display:none. So here is the code to those who wants to remove the quantity field :<style> .product-quantity-input{display:none!important;} </style> Have a nice day ! Link to comment
MegLaLonde Posted January 15, 2021 Share Posted January 15, 2021 On 1/13/2021 at 12:56 PM, MegLaLonde said: I have a question on adding a variant to the following coding: <style> .product-price { display:none } </style> I have where a given product is also offered at 0.00 for a sample, Ideally I would like to show the price for the goods that are sellable. In this instance the price is 14.55- 16.55. Please advise if I am able to add an exception to the code above to either show pricing range excluding $0.00... Thanks! Meg Makes sense! Here it is. https://octahedron-badger-ac26.squarespace.com/acoustical-panel-fabrics/p/studio-54-2966-7050-white-heat Link to comment
creedon Posted January 15, 2021 Share Posted January 15, 2021 @MegLaLonde Please post the site-wide password. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
enigma_ Posted August 12, 2021 Share Posted August 12, 2021 @creedon Do you know if there is a way to eliminate the "from $X" on each product page? I still want the prices to show up, but only when they click on the size. Link to comment
creedon Posted August 12, 2021 Share Posted August 12, 2021 @enigma_ Please see the following. Let us know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
ro12 Posted September 26, 2021 Share Posted September 26, 2021 How do I hide the price, quality and buy button on only one product? https://www.alenadesign.com/shop-online/standard-trousers-nc285 Link to comment
tuanphan Posted September 26, 2021 Share Posted September 26, 2021 6 hours ago, ro12 said: How do I hide the price, quality and buy button on only one product? https://www.alenadesign.com/shop-online/standard-trousers-nc285 Edit Product >> Additional Info >> Add a Code Block >> Paste this code <style> div.product-quantity-input, div.sqs-add-to-cart-button-wrapper, .product-price { display: none !important; } </style> ro12 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!) Link to comment
JenniferWhitmer Posted February 8, 2022 Share Posted February 8, 2022 The codes you gave were helpful in eliminating the price and qty but not the "add to cart" button. I went in and changed the "add to cart" to a custom button that said "Inquire about this property" with a custom form attached that asks for name and contact info but when I tested it, it just added to the cart like I didn't change anything at all. The site url is thewatsongroup.squarespace.com and the password is brentwatson. Can you tell me either how to get rid of it completely or to change the functionality of it? Thank you. Link to comment
tuanphan Posted February 18, 2022 Share Posted February 18, 2022 On 2/9/2022 at 2:10 AM, JenniferWhitmer said: The codes you gave were helpful in eliminating the price and qty but not the "add to cart" button. I went in and changed the "add to cart" to a custom button that said "Inquire about this property" with a custom form attached that asks for name and contact info but when I tested it, it just added to the cart like I didn't change anything at all. The site url is thewatsongroup.squarespace.com and the password is brentwatson. Can you tell me either how to get rid of it completely or to change the functionality of it? Thank you. I can't find a product on your site. Can you share link? 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
Dariengibson Posted June 10, 2022 Share Posted June 10, 2022 I figured it out! Paste this in your css editor and make sure your product's inventory is set to zero. .product-price, .product-mark, .product-quantity-select, .sqs-add-to-cart-button-wrapper { display: none !important; } 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