Title: WooCommerce Min/Max Quantities &#8211; error message
Last modified: September 1, 2016

---

# WooCommerce Min/Max Quantities – error message

 *  Resolved [gore.m](https://wordpress.org/support/users/gorem/)
 * (@gorem)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/woocommerce-minmax-quantities-error-message/)
 * Hello,
 * is there way to replace (WooCommerce Min/Max Quantities plugin) popup massage
   on single product page and cart page, with classic “top page” error message?
 * thanks you
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

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

 *  [Caleb Burks](https://wordpress.org/support/users/icaleb/)
 * (@icaleb)
 * Automattic Happiness Engineer
 * [9 years, 8 months ago](https://wordpress.org/support/topic/woocommerce-minmax-quantities-error-message/#post-7704945)
 * You mean this error message: [http://cld.wthms.co/O4fQ/13y6BINS](http://cld.wthms.co/O4fQ/13y6BINS)?
 * This is the default error message that browsers have when the quantity input 
   fails validation. WooCommerce error messages happen after the form is submitted,
   these happen before.
 * With some customization you could remove the field validation and only use post-
   submission validation that will throw a WooCommerce error, but that’s less customer
   friendly in my opinion.
 *  Thread Starter [gore.m](https://wordpress.org/support/users/gorem/)
 * (@gorem)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/woocommerce-minmax-quantities-error-message/#post-7704957)
 * Thanks you, yes, it is less customer friendly, but I dont use any pop-up on my
   site so I dont want it.
 * Can you help me with customization?
 * I deleted lines 97-106 and 107-167 (min-max-quantities.php)but nothing happened.
 *  [Caleb Burks](https://wordpress.org/support/users/icaleb/)
 * (@icaleb)
 * Automattic Happiness Engineer
 * [9 years, 8 months ago](https://wordpress.org/support/topic/woocommerce-minmax-quantities-error-message/#post-7704986)
 * > Can you help me with customization?
 * I can’t, but you could hire a developer:
 * – [http://jobs.wordpress.net/](http://jobs.wordpress.net/)
    – [https://codeable.io/](https://codeable.io/)–
   [https://woocommerce.com/experts/?project-scope%5B0%5D=1819](https://woocommerce.com/experts/?project-scope%5B0%5D=1819)
 * > I deleted lines 97-106 and 107-167 (min-max-quantities.php)but nothing happened.
 * As mentioned, this pop-up is default browser behavior. Just deleting code in 
   the plugin isn’t go to help. You need to remove the min/max attributes for pre-
   submission validation, and instead only use post-submission validation.
 * I really really don’t think this is a smart idea though, considering how annoying
   this would be for customers.

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

The topic ‘WooCommerce Min/Max Quantities – error message’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Caleb Burks](https://wordpress.org/support/users/icaleb/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/woocommerce-minmax-quantities-error-message/#post-7704986)
 * Status: resolved