What are "Units" and how can they be used for price book discounts, MOQs & delivery charges

Container type “Units” allow you to implement rules in Breww with normalisation across container types. It’s easiest to explain with an example.

An example

Let’s say that you want to have a Minimum Order Quantity (MOQ) on your Trade Store of either:

  • 2 x 30L kegs
  • or, 4 x 20L kegs
  • or, 4 x 24 case of cans
  • or, 4 x 24 case of bottles

But you would also be happy for someone for buy a mix of different container types that equate to the same approximate total, for example:

  • 1 x 30L keg and 2 x 20L keg
  • or, 2 x 20L keg, 1 case of 24 cans and 1 case of 24 bottles

Essentially, as long as they order 4 suitable “things” (or “Units”) then you’ll be happy to accept the order. And some things (30L kegs in this case) count as two things (or “Units”).

By using the concept of “Units” in Breww, you can relate each container type to a unit. Then, you can define your rules in terms of units to ensure all container types can be compared to the rule.

How to configure units

The number of units is set on each container type. You’ll be prompted for this when creating or editing a container type. The form fields look like this:

Using the above examples, here’s how to configure the container types:

  • For 24 cans equating to one unit, you’d fill in the inputs as: 24 containers is 1 unit.
  • For a 20L keg equating to one unit, you’d fill in the inputs as: 1 container is 1 unit.
  • For a 30L keg equating to two units, you’d fill in the inputs as: 1 container is 2 units.

What units can be used for in Breww

Units can be used:

Rounding of units

When used for MOQs in the trade store, or for delivery charges, there is no rounding required.

However, when used with price book discount rules, you need to determine how the number of units is rounded if someone buys a non-whole-number of units. In SettingsOrder/invoice settings, you have this option:

1 Like