Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 1

How can I hide the Add to Cart, Quantity and Price from my product page?


amcg

Question

Recommended Posts

  • 0

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
  • 0
1 hour ago, ghazwan said:

What code do I need to just hide the ADD TO CART button?

See: 

 

sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi! I'm Paul, an independent Squarespace Consultant since 2007 and founder of SF Digital, building the features that Squarespace didn't include. Our mini-extensions allow you to pick dates in any format, show prices in other currencies, take orders without payment or improve your cartI value honesty, integrity, transparency and respect . Links in my posts may refer to SF Digital products or may be affiliate links.

Link to comment
  • 0
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.

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
  • 0
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
  • 0

@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.

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

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...