How to Show a Custom Error Message When Quantity Restriction is Triggered?

Showing a Custom Error Message When Quantity Restriction is Triggered

Magento 2 Limit Order Quantity Per Customer allows you to compose and assign error messages for each Upper and Lower boundary. A customizable error message will be displayed once a customer hits a predefined range.

Go to Addify EXTENSIONS > Addify Restrict Order By Customer > Configurations

  • Select ‘Yes’ or ‘No’ from the dropdown to Enable the extension. 
  • Enter a custom Minimum Message to display if the customer gives a lower quantity than required for a minimum order. 
  • Add a custom Maximum Message to display if the customer gives a high quantity than required for a maximum order quantity.
  • Click on “Save Config” to apply the setting.