Jump to content

How to turn 'Show Quantity' On/Off in Product Options in 7.1

Recommended Posts

  • Replies 1
  • Views 139
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Hi,

You can also consider using some CSS code to do this.

To hide it on all products, add this to Design > Custom CSS

  .product-quantity-input {
    display: none !important;
}

To hide it on a product > edit that product > Additional Info > Add a Code Block > Paste this code

<style>
  .product-quantity-input {
    display: none !important;
}
</style>

To hide it on some specific products, first you need to add a tag, eg: hideq for these products, then use this code to Design > Custom CSS

.tag-hideq .product-quantity-input {
    display: none !important;
}

 

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

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