Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.06 KB

README.md

File metadata and controls

39 lines (28 loc) · 1.06 KB

shopify-to-lightspeed

Parse Shopify product CSV export data to Lightspeed import CSV data using nodejs. (Lightspeed = former SEOshop).

execute scripts

parse products

node parseProducts.js input.csv output.csv --delimiter=semicolon
  1. node
  2. parseProducts.js the script that parses the products from Shopify format to Lightspeed format
  3. input.csv the input script in Shopify format
  4. output.csv the output script in Lightspeed format
  5. --delimiter=semicolon optional input delimiter, values: [comma|semicolon] defaults to semicolon
  6. --tabs optional parameter, when opted it is set to true; if omitted it is set to false. This parameter refers to the Shopify "Product Description Tabs" plugin. If true, all <h6>tab title</h6> elements are rendered as —tab title—.

parse customers

node parseCustomers.js input.csv output.csv

requirements

node modules:

  • csvtojson
  • jsonexport
  • fs
  • progress
  • minimist

install command: npm install -S csvtojson jsonexport fs progress minimist