This extension adds product import functionality to Solidus, with a bunch of features that give it similar functionality to Shopify's importer.
This extension adds a tab to the administration area of Solidus, allowing a logged-in user to select and upload a file in any of the supported formats containing product information. The upload is then placed on queue for processing. Once it has been processed, the user who initiated the job is notified by email that their import has completed.
Features
Products
- Create if they do not exists, otherwise update them.
- Set Properties.
- Attach/import multiple local or remote images.
- Create/Associate to many taxonomies.
Variations
- Create if they do not exists, otherwise update them.
- Create Options types as needed.
- Create Options values as needed.
Formats supported
- CSV. examples
ActiveJob
This gem relies on ActiveJob for scheduling imports greater than 20 products/variantions. For more information about activeJob see ActiveJob Rails Guide
Installation
-
Add the gem to your Gemfile, and run bundle install.
gem 'solidus_import_products', :git => 'git://github.com/ngelx/solidus_import_products.git'
thenbundle install
-
rails generate solidus_import_products:install
-
Configure the extension to suit your application by changing config variables in
config/initializers/solidus_import_product_settings.rb
-
Run application!
Sample files and documentation
Some basic samples files could be find in spec/fixtures
For documentation refer to the wiki
Contributing
- Fork the project
- Make your changes, including tests that exercise the code. The first steps to setup the env is something like:
rake test_app
rake spec
- Summarize your changes in CHANGELOG.md
- Make a pull request
History and attribution
The product import script was based on a simple import script written by Brian Quinn here. Then it was extended by Josh McArthur (2010). After that by 2beDigital team. Finaly after all that, I've made some big estructural changes and here we are.