How to Show Custom Error Messages in Cases When Input Amount is Lower/higher than the Threshold?

Showing Custom Error Messages

To effectively display custom error messages to customers when they input an amount that falls below or exceeds the predetermined threshold, follow the following steps 

  • Navigate to WooCommerce > Name Your Prices > Settings.
  • Locate the option labeled “Minimum Price Error Text”.
  • Enter a personalized minimum price error message in the provided text field. This message will be displayed when users attempt to add a price lower than the minimum price you have set.
  • Next, find the option labeled “Maximum Price Error Text”.
  • Enter a personalized maximum price error message in the corresponding text field. This message will be shown when users attempt to add a price higher than the maximum price you have set.
  • Save the changes