Title: Quantity box edit quantity behaviour
Last modified: September 9, 2020

---

# Quantity box edit quantity behaviour

 *  Resolved [neallos](https://wordpress.org/support/users/neallos/)
 * (@neallos)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/quantity-box-edit-quantity-behaviour/)
 * Hi,
 * I’ve got a question/request about the behaviour of the product quantity selection.
   Standard the quantity is set to 1, which is great of course because most people
   are only buying 1 piece of a product.
 * If someone is willing to buy 2 or more of a product, they will click/hit the 
   quantity box (if not using the arrows or plus and minus of course). Now if they
   need 2 pieces of an item, they will click/hit 2. But because the amount of 1 
   is still there, if someone isn’t fully focussed, they will end up with 12 items
   in their cart. Is it possible to make it such that when someone hits/clicks the
   quantity box, you can assume they are willing to change the standard amount, 
   the standard amount of 1 disappears and only the new value is entered instead
   of added after the ‘1’?
 * Thanks,
 * Neal
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fquantity-box-edit-quantity-behaviour%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [laceyrod](https://wordpress.org/support/users/laceyrod/)
 * (@laceyrod)
 * Automattic Happiness Engineer
 * [5 years, 9 months ago](https://wordpress.org/support/topic/quantity-box-edit-quantity-behaviour/#post-13382095)
 * Hi Neal,
 * This would require more complex development. I’ll go ahead and leave this thread
   open for a while in case anyone else wants to chime in, but in the meantime, 
   I can also recommend the following resources for more development-oriented questions:
 * – WooCommerce Slack Community: [https://woocommerce.com/community-slack/](https://woocommerce.com/community-slack/)
   –
   Advanced WooCommerce group on Facebook: [https://www.facebook.com/groups/advanced.woocommerce/](https://www.facebook.com/groups/advanced.woocommerce/)
 * Hope this helps.
 *  Thread Starter [neallos](https://wordpress.org/support/users/neallos/)
 * (@neallos)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/quantity-box-edit-quantity-behaviour/#post-13386797)
 * Hi Lacey,
 * Thanks for your reply. Will try in these groups if they have an answer to this
   question.
 * Neal

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Quantity box edit quantity behaviour’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [neallos](https://wordpress.org/support/users/neallos/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/quantity-box-edit-quantity-behaviour/#post-13386797)
 * Status: resolved