Electrical Workers Registration Board
An Eversource Marketplace

How to Set An Order Rule

Admin Settings

What an ordering rule is

An ordering rule is a check that Eversource runs against a user's cart before they can complete their order. If the cart matches the conditions you have set, Eversource either blocks the checkout or shows the user a warning message.

A rule is made up of five decisions:

  1. What it is called, so the user understands what has happened

  2. How strictly it is enforced, block or warn only

  3. Whether it is currently switched on

  4. Who it applies to, from the whole organisation down to a single team

  5. What triggers it, either a dollar value or a product-based constraint, combined with one or more conditions

When to use rules, and when not to

Ordering rules are a good fit when you want a hard or soft boundary on what can be ordered. They are not a replacement for approval workflows.

Use a rule when:

  • There is a value ceiling on a single order for a group of users

  • A product should not be ordered above a set quantity

  • You want to nudge behaviour without stopping it, using Warn Only

Creating a rule

1. Name the rule

The name is shown to the user in Eversource when the rule triggers, so write it for them, not for you. "Linen orders are limited to 10 cases" is useful. "Rule 4 (linen)" is not.

2. Set the enforcement

Enforcement

What the user sees

When to use it

Block

The rule name is displayed and the user cannot complete checkout until the cart is changed

The order should never proceed. Restricted products, hard value ceilings, compliance requirements

Warn Only

The rule name is displayed as a message, and the user can continue and complete the order

You want visibility and a moment of hesitation, not a hard stop. Useful when launching a new rule before switching it to Block

Running a new rule as Warn Only for a short period is a low risk way to see how often it would have fired before you start stopping orders with it.

3. Set the rule active or inactive

A rule can be switched between active and inactive without being deleted. Inactive rules keep their configuration and stop being evaluated at checkout.

4. Set the scope

Scope controls who the rule applies to. You can set it broadly at organisation level or narrow it down to specific teams.

5. Set the constraint

The constraint is the limit the rule is measuring against. There are two types.

Dollar amount. The rule measures a monetary value and triggers when that value is crossed. Use this for order value ceilings and spend limits.

Per product. The rule measures a product-based quantity rather than a value.

If you choose per product, the Applied to field must be set to a specific product. A per product constraint cannot be left open against a category or a supplier. This is the field most often missed, and the rule will not save without it.

6. Set the conditions

Conditions define the circumstances in which the rule applies. You can add one condition or several, and you choose how they combine.

  • All means every condition must be true before the rule triggers. This makes the rule narrower and more precise.

  • Any means the rule triggers as soon as one condition is true. This makes the rule broader.

Worked examples

A value ceiling across the organisation. Bay Hotel Group wants any single order above $5000 to stop at checkout. Scope is set to the organisation, enforcement is Block, constraint is a dollar amount, and the name reads "Orders above $5,000 need to be split or approved separately."

A soft nudge on quantity. Bay Hotel Group wants visibility when a property orders an unusually large quantity of a single item, without stopping it. Enforcement is Warn Only, constraint is per product, and the name explains what the user should check before continuing.

Things to check before you go live

  • The name reads as a clear instruction to the user, not an internal reference

  • Enforcement matches the intent. Block for orders that should never happen, Warn Only for everything else

  • Scope is as narrow as it can be while still covering everyone it needs to

  • If the constraint is per product, Applied to is populated with a specific product

  • The All or Any setting matches what you actually want. Read the conditions out loud with "and" or "or" between them

  • The rule has been tested against a cart that should trigger it and a cart that should not

  • Anyone likely to hit the rule knows it is coming, particularly if it is set to Block

  • The rule is set to active