Stage 4: Update cross-reference lookups (Shopify to Virtualstock Supplier)

Introduction

Cross-reference lookup tables are used to convert given Shopify values to Virtualstock Supplier values. Conversion values are defined here and then called in process flow runs via cross reference lookup transformations applied to field mappings.

The following cross-reference lookup tables are installed as part of the Shopify & Virtualstock Supplier blueprint:

Cross-reference lookupNotes

SKU Lookup

Convert Virtualstock Supplier part numbers to Shopify SKUs (and vice versa).

In Shopify, the variantId is used when creating a sales order. Patchworks makes a GraphQL call into Shopify to search for variantId based on the SKU, therefore the SKU must be unique.

Carrier Mapping

Convert your Shopify tracking_company values to Virtualstock Supplier carrier values.

You need to update these with your required values. You can add just a few that you know will cover testing requirements and come back to complete these tables later, or you can add everything now - it's up to you.

The steps below show how to update cross-reference lookup tables manually however, you can also import values (recommended for larger updates).

For more information about cross-reference lookups, please see our cross-reference lookups pages.

The steps

Step 1 Select process flows > cross-reference lookups from the left-hand navigation menu (or click here). You will see two installed cross-reference tables: Carrier Mapping and SKU Lookup. For example:

Step 2 Click the Carrier Mapping entry to view existing entries for converting Shopify carrier values (on the left) to Virtualstock Supplier carrier values (on the right):

Step 3 Add/update/remove existing entries as appropriate (placeholder values can be edited or removed).

Your Virtualstock Supplier merchant (e.g. John Lewis) should provide your required values.

When we apply this table to a cross-reference lookup field transformation, we can choose whether the conversion is left-to-right or right-to-left.

Step 4 Check the default value and change it as appropriate (leave blank for no default). If you change the default value, click the update button to confirm.

Step 5 Save changes.

Step 6 Navigate back to the Cross-Reference lookups page and click the SKU Lookup entry to view existing entries for converting Virtualstock Supplier part numbers (on the left) to Shopify SKUs (on the right), and versa:

When we apply this table to a cross-reference lookup field transformation, we can choose whether the conversion is left-to-right or right-to-left.

Step 7 Add/update/remove existing entries as appropriate (placeholder values can be edited or removed).

Step 8 Ensure that the default value is set to n/a. This is important as a subsequent filter will check for this.

Step 9 Save changes.

Step 10 Go to the next stage.

Last updated