Order Attribute Format Transformer Rule

The Order Attribute Format Transformer rule allows you to append prefixes and suffixes to order attributes. For example, you can create a rule to add "INV-" to the beginning of every Order Id.

The parameters of this rule are:

  • Attribute Name - A select list of attributes of an order which can be used to filter, e.g. Shipping Country

  • Prefix - The value prepended to the beginning of the original attribute value, e.g. INV-

  • Suffix - The value appended to end of the original attribute value, e.g. 000

To add a new Order Attribute Format Transformer rule:

  1. Open the desired store.
  2. Click the Rules tab.

    DropStream - Rules

  3. Click Add a Rule.

    DropStream - Add a rule

  4. Name your rule and click +Add action
  5. Select Add prefix/suffix to order attribute from the dropdown menu.

    DropStream - Add an affix

  6. Enter the value you want assigned as the prefix and/or suffix and select the order attribute to assign the value to. If you want to add only a prefix or or only a suffix, leave the other field blank. 

    DropStream - Specify an affix

  7. Click Save changes.

For rules that transform 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

Comments

0 comments

Please sign in to leave a comment.