Skip to main content

Creating X for Y Discount Promotions

Use this procedure to create promotions such as, such as 2-for-1 sales. In this promotion, 2 SKU1s are sold for the price of 1. In this example, X is 2 and Y is 1.

caution
  • We recommend not to set maximum discount value for this promotions. Setting maximum discount value for this promotion conflicts with the promotion settings.
  • We recommend to use Advanced (Conditions v2) settings.
  1. Go to STORE > Promotions Standard.

  2. Click Add Promotion.

  3. In the Name field, enter a name for the promotion.

  4. In the Description field, enter a description for the promotion.

  5. In the Date range field, select the start date and time and the end date and time of the promotion.

  6. To enable the promotion, click the Enabled toggle.

  7. (Optional) To automatically apply the promotion, click the Automatic toggle.

    If this field is not selected, the promotion requires the buyer to enter a code in the cart to get the discount. For more information, see the Adding codes section.

  8. (Optional) In the Minimum cart value section, click Add minimum cart value.

    The Set minimum cart value window is displayed.

    1. In the Amount field, enter a minimum cart value before the promotion can be applied
    2. In the Select currency field, select a currency. You can add one or several value specifications in different currencies. For more information about currencies, see the Managing Currencies in Commerce Manager section.
    3. Click Save.
  9. In the Promotion type field, select X for Y.

  10. (Optional) In the Quantity limit per use field, specify the maximum number of application of a promotion per cart for a single use of a promotion.

    Each unique product in the cart will qualify for a promotion for X number of times depending upon what you specified in the Quantity limit per use field. For example, if the Quantity limit per use field is set to 1, and SKU A and SKU B are in the cart with a quantity of two each, only one instance of each SKU A and SKU B will qualify for a promotion.

  11. In the Define schema section, do the following.

    1. In the X/Y values subsection:

      1. Click Specify X/Y values.

        The Add X and Y Value window is displayed.

      2. In the X value and Y value fields, specify the values for X and Y.

        For example, for a promotion 2 for 1, X value is 2 and Y value is 1.

      3. Click Save.

    2. In the Catalogs field, select the catalogs to be applied for this promotion from the list.

      If you do not select any catalogs from the list, all catalogs will be applied for the promotion.

    3. In the Promotion Conditions subsection:

      1. To include products in a promotion, do the following:
        1. Go to Products.
        2. Click Add Promotion Condition.
        3. In the Condition Type field, choose SKUs or Product IDs to be included in a promotion.
        4. Click Add Condition.
      2. To include attributes and hierarchies or nodes in a promotion, do the following:
        1. Go to Simplified (Conditions v1).
        2. Click Add Promotion Condition.
        3. In the Condition Type field, choose Attributes or Hierarchy or Nodes to be included in a promotion.
        4. If you chose Attributes, choose the Template Slug and Attribute slug from the list, enter Attribute Value, and then click Add Condition.
        5. If you chose Hierarchies or Nodes, enter the IDs of the hierarchies or nodes that you want to include in a promotion in the Hierarchy/Nodes UUIDs field, and then click Add Condition.
      3. To include attributes and hierarchies or nodes in a promotion based on multiple conditions at the same time, do the following:
        1. Go to Advanced (Conditions v2).
        2. Click Add Promotion Condition.
        3. In the Condition Type field, choose Attributes or Hierarchy or Nodes to be included in a promotion.
        4. If you chose Attributes, choose the Template Slug and Attribute slug from the list, enter Attribute Value, and then click Add Condition.
        5. If you chose Hierarchies or Nodes, enter the IDs of the hierarchies or nodes that you want to include in a promotion in the Hierarchy/Nodes UUIDs field, and then click Add Condition.
        6. Click +AND to add another condition on attributes, and hierarchies or nodes to be included in a promotion.
        7. Click +OR to add multiple OR conditions on attributes and hierarchies or nodes to be included in a promotion. :::note Under Advanced (Conditions v2) settings:
          - You can add up to five **+AND** conditions inside the per **+OR** condition.
          - You can include up to 10 **+OR** conditions.
          :::
    4. In the Promotion Exclusions subsection: :::caution Promotion Exclusions subsection is enabled only when you update the Simplified (Conditions v1) or Advanced (Conditions v2) settings in the Promotion Conditions subsection. :::

      1. To exclude products from a promotion, do the following:
        1. Go to Products.
        2. Click Add exclude.
        3. In the Condition Type field, choose SKUs or Product IDs to be excluded from a promotion.
        4. Click Add Condition.
      2. To exclude attributes and hierarchies or nodes from a promotion, do the following:
        1. Go to Simplified (Conditions v1).
        2. Click Add Promotion Condition.
        3. In the Condition Type field, choose Attributes or Hierarchy or Nodes to be excluded from a promotion.
        4. If you chose Attributes, choose the Template Slug and Attribute slug from the list, enter Attribute Value, and then click Add Condition.
        5. If you chose Hierarchies or Nodes, enter the IDs of the hierarchies or nodes that you want to exclude from a promotion in the Hierarchy/Nodes UUIDs field, and then click Add Condition.
      3. To exclude attributes and hierarchies or nodes from a promotion based on multiple conditions at the same time, do the following:
        1. Go to Advanced (Conditions v2).
        2. Click Add Promotion Condition.
        3. In the Condition Type field, choose Attributes or Hierarchy or Nodes to be excluded from a promotion.
        4. If you chose Attributes, choose the Template Slug and Attribute slug from the list, enter Attribute Value, and then click Add Condition.
        5. If you chose Hierarchies or Nodes, enter the IDs of the hierarchies or nodes that you want to exclude from a promotion in the Hierarchy/Nodes UUIDs field, and then click Add Condition.
        6. Click +AND to add another condition on attributes, and hierarchies or nodes to be excluded from a promotion.
        7. Click +OR to add multiple OR conditions on attributes, and hierarchies or nodes to be excluded from a promotion.
          note

          Under Advanced (Conditions v2) settings:

          • You can add up to five +AND conditions inside the per +OR condition.
          • You can include up to 10 +OR conditions.
  12. Click Save.