So far, we’ve seen conditions and actions that cover fairly simple use cases. SAP Commerce Cloud also offers some special conditions and actions, which allow Marketing Managers to create promotions that go beyond these typical scenarios or handle more complex variations of these simple examples.
To make our upcoming demo more interesting, we now want to introduce containers.
Containers are used to group products that are part of a promotion, such as multiple product categories. They are essential for certain promotion types, as they hold the individual products or categories involved in the campaign.
Especially, containers are needed for the following promotion types:
- Partner Product
- Buy-one-get-one
- Product Bundle
- Product multi-buy
- Product discount with limited quantities
Instead of simply adding a Qualifying Products or Qualifying Product Categoriescondition under Conditions and Actions (1), Chris must create a container (2).
Let’s look at the promotion: Buy a pair of shorts and get a t-shirt 50% off. Here, containers allow SAP Commerce Cloud to differentiate between full-price and discounted products sold in combination.
- The products sold at full price are defined in the first container – CONTAINER_SHORTS (3).
- The products to which a discount is to apply are defined in the second container – CONTAINER_SHIRTS (4).
As shown in the screenshot below, Chris can then apply a special action "percentage discount on partner products" (1) to reference the containers in the condition. Please note that the configuration is specific to the selected action; in our example:
- Qualifying product containers (2) - references the full price container - CONTAINER_SHORTS, typically used as the trigger condition for the promotion.
- Target product containers (3) - references the second container - CONTAINER_SHIRTS, on which the percentage discount will be applied.
- Percentage discount value (4) - the discount percentage to be applied; in this case, 50%.
Consequently, with the help of containers, the promotion is set up as follows: "If a customer buys a pair of shorts, they receive a 50% discount on a shirt."