Dynamic blocks in price rules

+-----------------------------------+ | img-md | +===================================+ | w-20 | +-----------------------------------+ | Adobe Commerce feature | +-----------------------------------+Exclusive feature only in Adobe Commerce (Learn more)

Any dynamic block that you create can be associated with a promotion. To make the association, you must first create both the dynamic block and the catalog price rule or cart price rule. The association can be made while working on a price rule or when working on a dynamic block.

IMPORTANT
After you create this association, the dynamic block is displayed only when the rule fires. If the promotion is targeted to segment A, the block is displayed to segment A. If the promotion is not active, the block is not displayed.

Associate a dynamic block with a price rule

  1. On the Admin sidebar, go to Marketing > Promotions and choose one of the following:

    • Catalog Price Rules
    • Cart Price Rules
  2. In the grid, find the rule that you want to associate with the dynamic block and open in edit mode.

  3. Scroll down and expand Expansion selector Related Dynamic Blocks.

  4. In the first column, set the filter to Any and click Reset Filter.

    The grid now lists all available dynamic blocks.

  5. Select the checkbox of each dynamic block that you want to associate with the rule.

    img-md
    w-600 modal-image
    Adding selected dynamic blocks
  6. When complete, click Save.

Associate a price rule with a dynamic block

  1. On the Admin sidebar, go to Content > Elements > Dynamic Blocks.

  2. Find the dynamic block in the grid and open in edit mode.

  3. Scroll down and expand Related Promotions.

    Any currently associated price rules appear in the grid.

  4. Add a new associated rule or remove a current association.

    • To associate a shopping cart promotion, click Add Cart Price Rules.

    • To associate a product-related promotion, click Add Catalog Price Rules.

  5. In the grid, select the checkbox of each rule that you want to associate with the dynamic block.

  6. Click Add Selected.

    img-md
    w-600 modal-image
    Adding selected price rules to a dynamic block
  7. When complete, click Save.

recommendation-more-help
2b0136b4-ef75-405f-9734-60d741f198de