Documentation

Using the Minimum Order Amount Rule

Available Liferay DXP 7.4 U1+/GA5+

Because of the cost to fulfill an order, you may want to accept only orders above a certain amount. You can do this through Order Rules by setting a minimum order amount below which customer checkout is prevented.

Order Rules Overview

When an Order Rule is applied, the buyer must fulfill the rule to continue checking out. In the case of the minimum order amount rule, buyers must have a total or subtotal cart value set in the rule in order to checkout. If not, a warning message displays the minimum order amount needed to proceed.

Warning message displayed for not meeting the minimum order amount.

Creating an Order Rule

The Minimum Order Amount rule is available out-of-the-box.

  1. Open the Global Menu (Applications Menu icon) and click on CommerceOrder Rules.

  2. Click the Add button (Add icon) and enter the following information.

    Name: Minimum Order $30

    Description: Testing the minimum order amount order rule

    Type: Minimum Order Amount

  3. Click Submit.

    The Order Rule screen contains all you need to configure and activate Order Rules.

This opens a configuration view for the Order Rule. The Priority decides which Order Rule takes precedence when there’s more than one rule. The lower number takes priority over the higher one. You can activate it using the Active toggle and configure it to apply the minimum order amount to the total or subtotal. You can also set the currency here.

Order Rule Eligibility

You can set the Order Rule eligibility for Accounts, Account Groups, Channels or Order Types.

Under the eligibility tab, you can set the Order Rule eligibility for Accounts, Account Groups, Channels or Order Types. By default it is applicable to all of these. If you want to associate it with a specific entity, choose it by clicking the radio button and using the search bar.