Jump to content

Quantity selection

Recommended Posts

Posted

Site URL: https://www.thetinymarket.com/

Hi there,

I just wanted some help with the quality drop down filed. Some of my products don't require the quantity filed and others do, I have been able to either hide the option on all products or none. I want to know how to hide it on specific products only?

  • Replies 1
  • Views 741
  • Created
  • Last Reply
Posted
3 hours ago, SoniaDB said:

Some of my products don't require the quantity field. I want to know how to hide it on specific products only.

Sure.

You should be able to do this by adding a tag to products where you don't want the Quantity selector to appear. You can then add some Custom CSS to hide it on those products only. 

For example, if you added to the tag "multiple" to one of these products, you could add this to Design > Custom CSS and it would hide the Quantity selector for this product:

.ProductItem.tag-multiple .ProductItem-details .product-quantity-input {
  display:none;
}

I hope this helps.

   If a post helps you, please click a "Like" option below  ↘️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.