After July 2021, the 2.3.x release line no longer received quality updates or user guide updates. PHP 7.3 reached end of support in December 2021, and Adobe Commerce 2.3.x reached end of support in September 2022. We strongly recommend upgrading to Adobe Commerce 2.4.x to help maintain PCI compliance.

Discount with Minimum Purchase

This site contains archived merchant documentation for a version of Adobe Commerce and Magento Open Source that has reached end-of-support. The documentation available here is intended for historical reference only and is not maintained. The Adobe Commerce Merchant Documentation for current releases is published on the Adobe Experience League.

Cart price rules can be used to offer a percentage discount based on a minimum purchase. In the following example, a 25% discount is applied to all purchases over $200.00 in a specific category. The format of the discount is as follows:

X% off all Y (category) over $Z dollars

Step 1. Create a Shopping Cart Rule

Follow the basic instructions to create a cart rule.

Step 2. Define the Conditions

  1. Scroll down and expand Expansion selector the Conditions section.

  2. Click Add () and choose Product Attribute Combination.

    Cart price rule condition - product attribute combination Product Attribute Combination

  3. Click Add (Add icon) at the beginning of the next line. Then, in the list under Product Attribute, choose Category.

    Cart price rule condition - category Category

    • Click the () more link to display additional options.

      Cart price rule condition - category options Category IS

    • Click the Chooser (List icon) icon to see the available categories. In the category tree, select the checkbox of each category that you want to include. Then, press Enter to add the categories to the condition.

      Cart price rule condition - category Category IS

  4. Click Add (Add icon) at the beginning of the next line and do the following:

    • In the list under Cart Item Attribute, choose Price in cart.

      Cart price rule condition - cart item attribute Category IS

    • Click is and choose equals or greater than.

    • Click and enter the amount that the Price in Cart must be to meet the condition. For example, enter 200.

      Cart price rule condition - price in cart Enter the Price to Complete the Condition

  5. Click Save and Continue Edit .

Step 3. Define the Actions

  1. Expand Expansion selector the Actions section and do the following:

    Cart price rule actions Actions

    • Set Apply to Percent of product price discount.

    • Enter the Discount Amount. For example, enter 25 for a twenty-five percent discount.

    • To prevent additional promotions from being applied to the purchase, set Discard subsequent rules to Yes.

  2. Click Save and Continue Edit. Then, complete the rule as needed.

Step 4. Complete the Labels

Complete Step 4 of the cart price rule instructions to enter any labels that appear during checkout.

Step 5: Save and Test the Rule

Price rules are automatically processed with other system rules. Processing frequency depends on your installation’s cron configuration. When you create a new price rule, allow enough time for it to get into the system. Then, test the rule to make sure that it works correctly.

  1. When your rule is complete, click Save Rule.

  2. Test the rule to make sure that it works correctly.