The creating/updating collections (#3 and #4) is very useful but one thing I ran into while testing it is that it's hard to verify the results. It would be nice if we could generate a log of the import processes for review afterwards.
Taking a queue from Matrixify, they create a results file when you run an export. The results file is the original file + several rows at the end describing what occured:
Create a file named [Original filename]_Results.csv that contains the original rows with those 4 columns at the end. (A CSV file will be simpler than an Excel file and we won't need to worry about formatting)
Print the name of that output file in the console, something like:
? Please choose what you will do import
? Please enter file path/name: Smart.Collections.xlsx
? Please choose which field you try to import/update: Automated Collection
? Please choose store example-store.myshopify.com
? Please choose which format file you will import. Matrixify
[████████████████████████████████████████] 100% | DUR: 4s | ETA: 0s | 2/2
2 items success, 0 items skip, and 0 items failed
Results saved to Smart.Collection_Results.csv
The creating/updating collections (#3 and #4) is very useful but one thing I ran into while testing it is that it's hard to verify the results. It would be nice if we could generate a log of the import processes for review afterwards.
Taking a queue from Matrixify, they create a results file when you run an export. The results file is the original file + several rows at the end describing what occured:
Full reference for these columns is here.
When we run an import can we:
[Original filename]_Results.csv
that contains the original rows with those 4 columns at the end. (A CSV file will be simpler than an Excel file and we won't need to worry about formatting)