Min and Max Purchase for WooCommerce
Custom error message (2 posts)

  1. Okoth1
    Posted 2 years ago #


    I'd like to have a custom message since the current message is too complicated (lot of back-end language).

    The only message I'd like to have is:

    Minimum Purchase Required

    The minimum order amount is ...

    All the other things are in my eyes unnecessary:
    - On top you have the default Woocommerce "Purchase error found" message, so an error title is not necessary.
    - "for the total group may be purchased" is back-end language. People have no clue that they order from a group.
    - "The current total ..." is also not necessary because it is already mentioned on the cart and checkout page.

    It's maybe also better to wrap the errmsg-begin class in a separate <p> so we can hang a css on it.

    Just some thoughts...


  2. varktech.com
    Plugin Author

    Posted 2 years ago #

    Hi Okoth1,
    You've brought up a bunch of interesting topics...

    (1) 'Purchase error found' error message plus a title in the error message box - these elements are visually close on the checkout page only if no other errors produced by the system. If other error messages appear, they could lie between the min/max error message and the error box. Thus both were included.

    (2) "for the total group may be purchased" => I felt that the customer needed to know that a group/individual product assessment was at the root of the min/max error situation. To simply say these 2 are in error amongst the 6 you've purchased may not give the customer sufficient information.

    (3) "The current total ..." => this is included to ensure that the message can be understood as a standalone, and does not require the customer to scan elsewhere for all the info pertinent to the error.

    (4) there's already a class for the error messages, vtmam-error, which allows css to uniquely address the error message block.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Min and Max Purchase for WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.