Disallow orders with total value above X.- EUR with Standard Shipping to Selected Countries

This feature allows to stop orders with total value above certain amount when Standard Shipping is selected. Feature settings page can he found here. It is only possible to change Maximum Order Value globally, so you can not set one limit for Madagascar and another for Japan. Module settings should be sefl-explanatory.

Checking is performed when customer tries to submit the order and if  check is not passed, user is redirected to Cart Page (not Checkout) and message provided in module configuration is displayed in the form of error.

Checkout Example

Error Example

This might not be the most user-friendly way of doing such check, but it was the most straight forward way of doing it.

Logging

All order submissions where this check fails (order is disallowed) are logged in var/log/order_restriction.log for further analysis.

Leave a Reply 0

Your email address will not be published. Required fields are marked *