https://github.com/solidusio-contrib/solidus_shipments_add_product
Add the "add product" button back to your Solidus admin/order_shipments page.
https://github.com/solidusio-contrib/solidus_shipments_add_product
add-product admin extension legacy solidus
Last synced: 8 months ago
JSON representation
Add the "add product" button back to your Solidus admin/order_shipments page.
- Host: GitHub
- URL: https://github.com/solidusio-contrib/solidus_shipments_add_product
- Owner: solidusio-contrib
- License: bsd-3-clause
- Created: 2019-08-30T09:58:50.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-11-18T12:16:42.000Z (over 3 years ago)
- Last Synced: 2024-12-31T23:17:22.373Z (over 1 year ago)
- Topics: add-product, admin, extension, legacy, solidus
- Language: Ruby
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Solidus Shipments Add Product
==========================
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 https://github.com/solidusio/solidus/pull/3214. See also https://github.com/solidusio/solidus/pull/3099 for motivations.
Installation
------------
Add solidus_shipments_add_product to your Gemfile:
```ruby
gem 'solidus_shipments_add_product', github: 'solidusio-contrib/solidus_shipments_add_product'
```
Bundle your dependencies and run the installation generator:
```shell
bundle
bundle exec rails g solidus_shipments_add_product:install
```
Testing
-------
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](https://github.com/bbatsov/rubocop) static code analysis. The dummy app can be regenerated by using `rake test_app`.
```shell
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:
```ruby
require 'solidus_shipments_add_product/factories'
```
Copyright (c) 2019 [Nebulab](https://nebulab.it), released under the [New BSD License](https://github.com/solidusio-contrib/solidus_shipments_add_product/blob/master/LICENSE.md)