Remove quantity field before "Add to Cart" on single product pages

Q: I’ve created quantities as an attribute. Now I’d like to remove the quantity field with the plus and minus buttons that appears next to the ‘Add to Cart’ button on single product pages (since the customers already have selected their quantity from the available attributes). How can I disable the code that shows this quantity field?

A: You can do it in 2 ways:

  1. To disable the output in a custom css file (most themes offer an easy way to include one)

form.cart div.quantity {visibility: hidden; display: none;}
This is update-save – because it won’t be overwritten during the next update.

  1. You have to delete the following line in the file “jigoshop_template_fuctions.php” :

      <div class="quantity"><input name="quantity" value="1" size="4" title="Qty" class="input-text qty text" maxlength="12" /></div>