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.

Customer Segments in Price Rules

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.
Magento Commerce only. Learn more.

A customer segment can be targeted by associating it with a cart price rule and dynamic block.

Cart price rule - targeted customer segment Targeted Customer Segment

Target a Segment with a Cart Price Rule

  1. On the Admin sidebar, go to Marketing > Promotions > Cart Price Rules.

  2. Open a new or existing rule:

    • To use a new rule, click Add New Rule in the upper-right corner.
    • To use an existing rule, click the rule in the list to open it in edit mode.
  3. Scroll down and expand Expansion selector the Conditions section.

  4. Add the condition:

    • Click Add (Add icon ) to display the list of conditions. Then, choose Customer Segment.

      Cart price rule - add customer segment condition Customer Segment

    • By default, the condition is set to find a matching condition. If needed, click the matches link and change the operator to one of the following:

      • does not match
      • is one of
      • is not one of

        Condition operator Condition Operators

    • To target a specific segment, click the More (  ) link to display additional options. Then, click the ChooserChooser icon ) to display the list of customer segments.

      Cart price rule - condition chooser Chooser

    • In the list, select the checkbox of each segment that you want to target with the condition.

  5. Click SelectSelect icon ) to place the selected customer segments into the condition.

  6. Complete the rest of the price rule as needed.

  7. When complete, click Save.