Jump to content

How to change starting product quantity to "0" instead of "1"

Recommended Posts

Site URL: https://www.lbstructural.com/shop-lb-structural/p/white-alumabase-for-alumawood-by-amerimax

Hello, hoping for some help in editing the starting quantity to "0" instead of "1" on the product pages. We have an issues with people checking out with only 1 product when usually 3 minimum are needed to complete the project. I don't want to make a minimum order because people often order 1 for color sampling. Thanks in Advance! https://www.lbstructural.com/shop-lb-structural/p/white-alumabase-for-alumawood-by-amerimax

Link to comment
  • Replies 2
  • Views 292
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Try adding to Settings > Advanced > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
  $(document).ready(function() { 
		$('.ProductItem-details .product-quantity-input input').attr('min', '0');
$('.ProductItem-details .product-quantity-input input').attr('value', '0');

If you want the code run for above product only, add a Code Block in Additional Info >> Add the code

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
  • 2 weeks later...

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.