Commerce Layer will be proud to sponsor the next JAMstack Conf in London — 09-10 July, 2019 🎉 Stay tuned!

GLOSSARY

Order validation rule

A rule that an order has to meet to be valid


In an ideal world, every order placed by your customers should complete without any further validation. Unfortunately, you’re much more likely to need some background checks, before you can call an order validated. This can happen for a variety of reasons, practical, technical, legal ones. However, it’s quite common you might want to add some order validation rules to your purchasing process.

Order validation rules may be:

  • rules that make up a set of requirements that every order has to meet,
  • a series of information that must be associated with and without which it can’t proceed to the checkout completion.

Choosing an order validation rule for your orders within Commerce Layer is quite easy. All you have to do is:

  • select the rule you want to add
  • specify to which Market this specific rule applies.

At the moment Commerce Layer provides only one order validation rule:

  • Require billing info
    For several reasons this a usual requirement. More than any other one, because it is the simple way to ensure that the person purchasing the product is an authorized account holder. Add this rule if you want the billing info (i.e., social security number or VAT registration number) to be a required field for your orders’ billing addresses.

The list of order validation rules is continually evolving. If you have some different or unique requirements for your orders, feel free to contact us, so that we can add them as soon as possible.

Examples

As mentioned above, there can be many different rules you could need to validate your orders. Two common ones are:

  • Max/Min number of items
    This rule could be added when you want your orders to be processed only if they don’t exceed or are lower than a certain threshold of items per single order.

  • Max/Min total order amount
    This rule could be added when you want your orders to be processed only if they don’t exceed or are lower than a certain threshold of total order amount.