Converts from a Shopify orders CSV export to a CSV file which can be uploaded to Routific to provide delivery locations.
Clone the gist and install dependencies
git clone git@gist.github.com:8e358345fd49042c3283b2fecaf15cc3.git shopify-routific-conversion
cd shopify-routific-conversion
npm install
-
Go to your Shopify orders - http://shopify.com/admin/orders
-
Filter the orders as required (e.g. only "Open" orders)
-
Export the current page as "Plain CSV file"
-
Copy the file to the
shopify-routific-conversion
directory- Make sure it's called
orders_export.csv
cp ~/Downloads/orders_export.csv ./shopify-routific-conversion
- Make sure it's called
-
Run the conversion
npm start
This will create a CSV file in shopify-routific-conversion
with a file name in
the format routific-destinations-<date>.csv
When setting up a new project in Routific, use the "Upload a List of Stops"
functionality and select the generated routific-destinations
CSV file. The
correct columns should be automatically selected based on the column titles.