Creating Order Attribute Prefix/Suffix Transformer Rule

About the Order Attribute Prefix/Suffix Transformer Rule

The Order Attribute Prefix/Suffix Transformer allows you to append prefixes and suffixes to order attributes. (Example: you can create a rule to prepend the "Order Id" with "INV-"). The Parameters for this rule are:
   
  • Attribute Name - A select list of attributes of an order which can be used to filter. (Example: Shipping Country)

  • Prefix - The value prepended to the beginning of the original attribute value. (Example: INV-)

  • Suffix - The value appended to end of the original attribute value. (Example: 000)



Creating Order Attribute Prefix/Suffix Transformer Rule

To add a new Order Attribute Format Transformer:
   
  1. Open the desired store.

  2. Click Actions > Settings


     

  3. Click the Rules tab


     

  4. Click Add a Rule


     

  5. First name your rule and then select Add Prefix/Suffix to Order from the option list.​


     

  6. Enter custom values and click Save Changes