How to Add Shipping Service Translation Rules for Purchase Orders

Duoplane Retailer accounts
Available on all plans

In Duoplane, you can customize the way shipping services are translated from your sales order in your ecommerce channel onto purchase orders sent to vendors. This allows you to map your store's shipping methods to your vendor’ preferred terms, ensuring clarity and avoiding confusion.

An example of this would be your customer selecting "Free shipping" in your ecommerce channel while placing their order, but this might not mean anything to your vendor. You might want instances of "free shipping" to actually appear as "Standard Shipping" in the PO being sent to your vendor, or something specific like "UPS Ground" or a code like "UPSG".

A translation rule can be set at a global level or specific vendor level; this guide will show you how to do both.

When listing multiple rules, they are cumulative meaning as each rule is processed it will look at the value from the rule above, if changed from the original value.

Edit global shipping service translation rules

  1. Login to your Duoplane Retailer account
  2. Navigate to Settings > Order Processing
  3. Look for the section labeled "shipping service translations" which has "Find" and "Replace" fields to the right of it
  4. Write the expressions you wish to find and replace in their respective fields using regular expressions (regex)
  5. Click "Save" when done

Edit vendor-level shipping service translation rules

  1. Login your Duoplane Retailer account
  2. Navigate to the Vendors directory
  3. Locate the Purchase order preferences section and click "Edit"
  4. Look for the section labeled "shipping service translations" which has "Find" and "Replace" fields to the right of it
  5. Write the expressions you wish to find and replace in their respective fields using regular expressions (regex)
  6. Click "Save" when done

Example shipping service translation rules

The example below is a list of rules that will do the following:

If the shipping service contains the word "Standard", then replace it with "ST", if it includes "Overnight" then replace with "ON", and if it is blank, replace with "NUL".

Find: /^.*Standard.*$/    Replace with: ST
Find: /^.*Overnight.*$/    Replace with: ON
Find: /^$/    Replace with: NUL

 

Related to