dhob Posted June 4, 2020 Share Posted June 4, 2020 I'm working within the 7.1 system, and here is a way to hide the product selection drop down menu (such as for "Select Size"), the quantity selection box, and the Add to Cart button on an individual product level basis. This way you can hide these elements on products within a given store page without having to use a blanket approach that affects more than specific products. We'll do this by creating a tag called "hideorder" and tagging any product with this tag name for which we want to hide all of these ordering options. So to start, take a single product and create a tag called "hideorder." To learn more about tags, see: https://support.squarespace.com/hc/en-us/articles/205814438) Next, add this code to your site's Custom CSS: /* ----------------- ultra-fresh "ORDER INTERFACE Be-Gone" ----------------- / /* add "hideorder" tag to any page to remove dropdown, quantity, and order button */ /* remove select size dropdown */ article .tag-hideorder .variant-option { display: none; } /* remove quantity dropdown */ article .tag-hideorder .product-quantity-input { display: none; } /* remove order button */ article .tag-hideorder .sqs-add-to-cart-button-wrapper { display: none; } That should do it. Seems to work nicely. Also, you can adjust the code by deleting lines if you want parts of the product ordering system to appear but not others (for whatever reason). Or of course you could create additional tag names with different attributes built off this code. I hope this makes sense. Good luck! StephanieMemory, genfoch01 and wsmedia 2 1 Link to comment
wsmedia Posted July 15, 2020 Share Posted July 15, 2020 This worked FABULOUSLY! Great idea to affect any store items that are just for show and not for actual sale. If you are using your site's store of image galleries with bread crumbs, this is killer! Much appreicated Link to comment
ghazwan Posted July 26, 2020 Share Posted July 26, 2020 hello, I have a shop on SS, and want to hide the add to cart button only. As not set up paypal yet, but want people to still email for products. What code do I need to just hide the ADD TO CART button? I am using the flatiron template. Link to comment
paul2009 Posted July 26, 2020 Share Posted July 26, 2020 1 hour ago, ghazwan said: What code do I need to just hide the ADD TO CART button? See: ghazwan 1 About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. Link to comment
Guest Posted August 19, 2020 Share Posted August 19, 2020 I am still need the solution for this. Can anyone help me out from this? Link to comment
NomadLad Posted March 28, 2021 Share Posted March 28, 2021 On 4/30/2020 at 3:39 AM, tuanphan said: Can you share link to page where you use summary block? Can you share link to product page? www.nomadandking.com - i would like it site wide. Link to comment
tuanphan Posted March 31, 2021 Share Posted March 31, 2021 On 3/29/2021 at 6:44 AM, NomadLad said: www.nomadandking.com - i would like it site wide. Hi. What is your problem? can you describe it again? I don't see your problem.. 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
StephanieMemory Posted June 22, 2021 Share Posted June 22, 2021 On 6/4/2020 at 3:55 PM, dhobman said: I'm working within the 7.1 system, and here is a way to hide the product selection drop down menu (such as for "Select Size"), the quantity selection box, and the Add to Cart button on an individual product level basis. This way you can hide these elements on products within a given store page without having to use a blanket approach that affects more than specific products. We'll do this by creating a tag called "hideorder" and tagging any product with this tag name for which we want to hide all of these ordering options. So to start, take a single product and create a tag called "hideorder." To learn more about tags, see: https://support.squarespace.com/hc/en-us/articles/205814438) Next, add this code to your site's Custom CSS: /* ----------------- ultra-fresh "ORDER INTERFACE Be-Gone" ----------------- / /* add "hideorder" tag to any page to remove dropdown, quantity, and order button */ /* remove select size dropdown */ article .tag-hideorder .variant-option { display: none; } /* remove quantity dropdown */ article .tag-hideorder .product-quantity-input { display: none; } /* remove order button */ article .tag-hideorder .sqs-add-to-cart-button-wrapper { display: none; } That should do it. Seems to work nicely. Also, you can adjust the code by deleting lines if you want parts of the product ordering system to appear but not others (for whatever reason). Or of course you could create additional tag names with different attributes built off this code. I hope this makes sense. Good luck! I tried this code with the Brine template but it doesn't work. Does this only work on 7.1 templates? Link to comment
creedon Posted June 22, 2021 Share Posted June 22, 2021 @StephanieMemory Add the following to Store Settings > Advanced > Page Header Code Injection for the store page. <style> .tweak-product-item-details-show-add-to-cart-button .ProductItem-details .sqs-add-to-cart-button-wrapper, .tweak-product-item-details-show-price .ProductItem-details .product-price, .tweak-product-item-details-show-quantity .ProductItem-details .product-quantity-input { display : none; } </style> This is for v7.0 using the Brine template family. Let us now how it goes. tuanphan 1 Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support! Link to comment
Tripang Posted July 10, 2021 Share Posted July 10, 2021 This works for me on v7.0 <style> .product-quantity-input, .product-price, .sqs-add-to-cart-button-wrapper {display:none!important;} </style> IvanTolstoi 1 Link to comment
IvanTolstoi Posted October 17, 2022 Share Posted October 17, 2022 On 7/10/2021 at 8:55 AM, Tripang said: This works for me on v7.0 <style> .product-quantity-input, .product-price, .sqs-add-to-cart-button-wrapper {display:none!important;} </style> You beast! Thank you dearly! 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