Table of Contents
Problem Description #
When an order includes products with decimal quantities, the backend order page UI may block changes , e.g. you cannot update order status or save order.
Common Symptoms:
- Console error: “An invalid form control with name=’order_item_qty[…]’ is not focusable.” when trying to update order status or save order. WordPress.org+2GitHub+2
- Order page refuses to update status; editing works only if decimal‑quantity items are removed from the order. WordPress.org+1
- Using API or bulk update works, but UI update fails. GitHub+1
Cause:
- Underlying WooCommerce admin/order UI doesn’t fully handle decimal quantities , the quantity input field becomes “invalid” or “non-focusable” when decimals are used, likely due to HTML form limitations or expectations of integer values. GitHub+1
- The plugin tries to force decimal quantities, but the core order‑management forms can’t cope, so they block updates.
Solution (step-by-step)
- Avoid using decimal quantities in orders if you rely on WP Admin order editing. Instead use whole numbers or treat decimal‑sales as special cases.
- If decimal quantities are essential, manage status changes via bulk actions or API , bypassing the UI limitations. Many users report API/bulk status updates work while UI fails. GitHub+1
- Inform order-processing staff about this limitation so they don’t lose time trying to update via UI.
- Monitor plugin updates and WooCommerce issue tracker , the underlying problem stems from how WooCommerce handles quantity inputs; future core fixes or plugin patches might fix this.
Prerequisites
- Use Min Max plugin with decimal quantity enabled.
- Awareness that WP Admin order UI may behave differently with decimals.
Additional Notes
- This is not a bug in the Min Max plugin alone , the issue lies partly in WooCommerce’s core order UI and browser form control expectations.
- For stores that rely heavily on decimal-based order items, adopting a custom order management workflow (API or external system) may be necessary.
