Skip to main content

Order rule action - AddProductToOrder

Tom Higgs avatar
Written by Tom Higgs
Updated over 2 months ago

To create order rules, you need the Order Rules module, if you would like to purchase this, please raise a new case online and reference the title of this article.​

The AddProductToOrder Order Rule action will add a product to an Order according to various conditions. This can be beneficial if you wish to add a product based on specific conditions. You can add only one product per order rule; if you need to include additional products, you will need to create multiple order rules.

To set up the AddProductToOrder order rule action, please follow the steps below:

  1. Click Settings then Order Rules.

  2. Next, click Add New Rule.

  3. Select the Action as AddProductToOrder.

  4. For the Param field, you must put the SKU semicolon then the Quantity e.g. Product;2.

    • Only one SKU per order rule can be added, if you need to include additional SKUs, you must create multiple order rules.

  5. Set to Active.

    • Remember to click Update before scrolling down to add conditions or progress will be lost.

Example - Add product based on items

You want to add a product based on the items within the order.

  • Action: AddProductToOrder.

  • Param: (SKU semicolon then the Quantity e.g. Product;1).

  • OrderRuleConditions -
    ​

    • Field: OrderItemProductSKUS.

    • Operator: Contains.

    • Value: SKU-123.

Did this answer your question?