Closed shoaib-iqbal closed 8 years ago
I have not needed to create specific loaders before for these. I would try with the generic
thor datashift:import
tasks (csv or excel)
This worked for me :
$ t datashift:export:csv -m Spree::Order -r /tmp/order.csv --remove number --remove-rails
Datashift: CSV export COMPLETED to /tmp/order.csv
$ t datashift:import:csv -m Spree::Order -i /tmp/order.csv
2 inbound rows were successfully processed.
There were NO failures.
If that does not work and you need some custom processing, I did write some specifics for importing shopify Order spreadsheets a while back, which may give you some pointers
https://github.com/autotelik/datashift_spree/blob/master/lib/loaders/spree/shopify_order_migrator.rb
cheers tom
there is rake task to upload users and orders?