Skip to content

Commit

Permalink
Add sample CSV files under examples/csvs
Browse files Browse the repository at this point in the history
All supported attributes for each type are included.
  • Loading branch information
cesartalves committed Apr 8, 2021
1 parent dad04a6 commit 3c7a6b1
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## [v0.2.0](https://github.com/solidusio-contrib/solidus_importer/tree/v0.2.0) (2021-04-02)
## [v0.2.0](https://github.com/solidusio-contrib/solidus_importer/tree/v0.2.0) (2021-04-07)

[Full Changelog](https://github.com/solidusio-contrib/solidus_importer/compare/v0.2.0...v0.2.0)

Expand All @@ -12,6 +12,7 @@
**Merged pull requests:**

- Let the extension work with ActiveStorage [\#57](https://github.com/solidusio-contrib/solidus_importer/pull/57) ([MinasMazar](https://github.com/MinasMazar))
- Update gemspec with correct Github organization [\#52](https://github.com/solidusio-contrib/solidus_importer/pull/52) ([MinasMazar](https://github.com/MinasMazar))
- Fix option types and values processors [\#47](https://github.com/solidusio-contrib/solidus_importer/pull/47) ([stefano-sarioli](https://github.com/stefano-sarioli))
- Update to the latest dev-support template and allow usage of Solidus 3.0 [\#46](https://github.com/solidusio-contrib/solidus_importer/pull/46) ([MinasMazar](https://github.com/MinasMazar))
- Skip empty option values [\#45](https://github.com/solidusio-contrib/solidus_importer/pull/45) ([derrickp](https://github.com/derrickp))
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@ There are three supported CSV types:

1. [Product](https://help.shopify.com/en/manual/migrating-to-shopify/transporter-app/csv-products)
2. [Order](https://help.shopify.com/en/manual/migrating-to-shopify/transporter-app/csv-orders)
3. [Customer](https://help.shopify.com/en/manual/migrating-to-shopify/transporter-app/csv-customers)
3. [Customer](https://help.shopify.com/en/manual/migrating-to-shopifsy/transporter-app/csv-customers)


---

Alternatively, we accept CSV files that conform to the ones shown in the [examples/csvs](https://github.com/solidusio-contrib/solidus_importer/tree/master/examples) folder

### The Processors

Expand Down
2 changes: 2 additions & 0 deletions examples/csvs/customer.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Email,First Name,Last Name,Address1,Address2,City,Zip,Phone,Country Code,Province Code
[email protected],Lorem,Ipsum,Lorem ipsum,apt 3,New York,1111,98989898,US,NY
3 changes: 3 additions & 0 deletions examples/csvs/orders.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Name,Processed At,Currency,Email,Note,Billing First Name,Billing Last Name,Billing Address1,Billing Address2,Billing City,Billing Company,Billing Zip,Billing Phone,Billing Country Code,Billing Province Code,Shipping First Name,Shipping Last Name,Shipping Address1,Shipping Address2,Shipping City,Shipping Company,Shipping Zip,Shipping Phone,Shipping Country Code,Shipping Province Code,Lineitem sku,Lineitem quantity,Lineitem price,Shipping Line Title,Lineitem fulfillment status,Shipping Line Price,Financial Status
SampleOrder-123431,2021-04-07 14:45:27 -0300,USD,[email protected],An order note,Sample name,Sample Last name,3380 Straford Park,apt 3,Maysville,Solidus Contrib,41056,606-564-1950,US,KY,Sample name,Sample Last name,3380 Straford Park,apt 3,Maysville,Solidus Contrib,41056,606-564-1950,US,KY,my-sample-product-2,1,15,Solidus-Express,fulfilled,2,paid
SampleOrder-123431,2021-04-07 14:45:27 -0300,USD,[email protected],An order note,Sample name,Sample Last name,3380 Straford Park,apt 3,Maysville,Solidus Contrib,41056,606-564-1950,US,KY,Sample name,Sample Last name,3380 Straford Park,apt 3,Maysville,Solidus Contrib,41056,606-564-1950,US,KY,my-sample-product-1,2,13,Solidus-Express,fulfilled,2,paid
4 changes: 4 additions & 0 deletions examples/csvs/products.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Handle,Title,Published,Variant SKU,Variant Weight,Variant Price,Option1 Value,Option1 Name,Option2 Name,Option3 Name,Option2 Value,Option3 Value,Image Src,Alt Text,Variant Image
my-sample-product,Sample Product,true,,,,Default Title,,,,,,https://github.com/solidusio/solidus/raw/master/sample/db/samples/images/ruby_hoodie.jpg,Cool Image,
my-sample-product,,true,my-sample-product-1,10,5,Black,color,weight,size,50,m,,,https://github.com/solidusio/solidus/raw/master/sample/db/samples/images/solidus_tshirt_back_black.png
my-sample-product,,true,my-sample-product-2,10,5,Blue,color,weight,size,50,m,,,https://github.com/solidusio/solidus/raw/master/sample/db/samples/images/solidus_tshirt_back_blue.png

0 comments on commit 3c7a6b1

Please sign in to comment.