How to Automatically Set a Country of Origin

This article explains how to set a country of origin automatically for items in orders imported from your connected store.

 

International shipments require a country of origin for each item. If an imported order arrives without one, you can have Swotzy fill it in for you instead of adding it to each item manually.

For how rules are structured and how rule priority works, see What Are Store Automation Rules?

Result

Once you've completed these steps:

  • Items in imported orders receive a country of origin automatically
  • The rule appears in your store's Rules list, where you can reorder, duplicate, deactivate, or delete it

Before You Start

Make sure that:

There are two ways to set a country of origin. Both create the same type of rule.

  • Option A — set a default country of origin. Use this when one country applies to every item that arrives without one.
  • Option B — create the rule manually. Use this when the country depends on conditions, or when you want to scope the rule to specific items.

Option A — Set a default country of origin

  1. Go to Integrations > Stores
  2. Click Manage on the store you want to configure
  3. In the Defaults section, select the country in the Default item country of origin field

Swotzy creates an order import rule from this field. The rule sets your country when Item country of origin is empty, so items that already include a country of origin keep their own.

The rule appears under Order Import in the Rules list on the right, where you can manage it like any other rule.

Option B — Create the rule manually

Use this option when the country of origin depends on conditions.

  1. Go to Integrations > Stores
  2. Click Manage on the store you want to configure
  3. In the Rules section, click Add order import rule under Order Import
  4. Select Set origin country from the action list — use the search field to find it
  5. Select the country in the Country code field — type a country name or code to filter the list
  6. Click Add Condition
  7. Select the field to check in the first dropdown — for example, Item country of origin, Recipient country, Is international, or Shipping method
  8. Select the operator in the second dropdown — for example, is, is not, or contains
  9. Enter the value to match in the third field
  10. Enter a name in Rule name (optional) to identify the rule in your list
  11. Leave Status set to Active
  12. Click Create Rule

What the rule affects depends on the field you choose. If your condition uses an item field, such as Item title or Item SKU, the rule sets the country of origin only on the items that match. If it uses an order field, such as Shipping method, the rule sets the country of origin on every item in the order.

Available operators depend on the field you select. To reproduce the behaviour of Option A, select Item country of origin and the is empty operator.

To match on more than one condition, click Add Condition again. All conditions must be true for the rule to apply.

Without conditions, the rule applies to every item in every order imported from the store.

Rules run in order, and the first matching rule wins per group. To set different countries for different items, place your most specific rule first.

Need Assistance?

If you experience any issues while setting up your rule, our support team is here to help.

Contact us at support@swotzy.com

Add comment

Please sign in to leave a comment.