Spree Extension for Datashift Spree Demo
Last updated on: February 10 at 06:10 PM
source code bug trackerThis spree extension allows admin to import Products, Variants, Users, Orders etc using a CSV file including all associations. This also supports import of Products through a .xls file.
gem 'spree_datashift_prod_import', github: 'vinsol-spree-contrib/spree_datashift_prod_import', branch: <spree-version-compatible>
gem 'datashift_spree', github: 'vinsol-spree-contrib/datashift_spree', branch: '3-2-stable'
gem 'datashift', github: 'vinsol-spree-contrib/datashift', branch: '3-2-stable'
The branch option is important: it must match the version of Spree you're using. For example, use 3-1-stable if you're using Spree 3-1-stable or any 3.1.x version.
bundle install
bundle exec rails g spree_datashift_prod_import:install
Import
Transform
Reset Data
For Importing Users.
Import Users button.For Importing Products.
Import Products button.For Importing Users.
Import Orders button.First bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app.
bundle
bundle exec rake
When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:
require 'spree_datashift_prod_import/factories'
Copyright (c) 2014 vinsol.com, released under the New MIT License
| tags | spree versions |
|---|---|
| master | ~> 3.2.0 |