This extension brings back the add product
functionality to the Shipments
tab in the admin/order
page.
This functionality was removed from Solidus backend with solidusio/solidus#3214. See also solidusio/solidus#3099 for motivations.
Add solidus_shipments_add_product to your Gemfile:
gem 'solidus_shipments_add_product', github: 'solidusio-contrib/solidus_shipments_add_product'
Bundle your dependencies and run the installation generator:
bundle
bundle exec rails g solidus_shipments_add_product:install
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, and Rubocop static code analysis. 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 its factories. Simply add this require statement to your spec_helper:
require 'solidus_shipments_add_product/factories'
Copyright (c) 2019 Nebulab, released under the New BSD License