Order Item Attribute Transformer Rule

The Order Item Attribute Transformer rule is used to change the existing attribute values of order items,  for example to update the unit price, or to change the SKU from ABC to DEF.

This rule has the following parameters:

  • Attribute - A list of attributes of an order item that can be used to filter order items, e.g. SKU.

  • Value type - The type of the attribute value; e.g. number.
  • Value - The value assigned to the attribute, e.g. DEF.

To add a new Order item attribute transformer rule,

  1. Open the desired store.
  2. Go to the Rules tab.

    DropStream - Rules

  3. Click +Add rule.

    DropStream - Add a rule

  4. Name your rule and click +Add action.

    DropStream - Name the rule
  5. Select Do something with each order item from the dropdown menu.

    DropStream - Do something to order items
  6. Select Compare Order Item Attribute from the dropdown.

    DropStream - Compare order item attribute
  7. Choose the attribute to transform from the Attribute dropdown, and enter the value of the attribute that should be changed. Then click the blue + Add action  button next to THEN. 

    DropStream - Specify an attribute and a value
  8. Select Set order_item attribute from the dropdown.

    DropStream - Set order item attribute
  9. Select the attribute to transform and enter the new value to be assigned.

    DropStream - Specify a new attribute value
    Attribute values default to simple values. For other options, see Attribute Assignment in Order Rules
  10. Click Save changes.

For instructions on how to change the values of order attributes, see Order Attribute Transformer Rule.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request



Please sign in to leave a comment.