Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geminimvp/solidus_premade_carts
Pre-built Carts for Solidus: use a link to add products to your cart and checkout.
https://github.com/geminimvp/solidus_premade_carts
Last synced: about 2 months ago
JSON representation
Pre-built Carts for Solidus: use a link to add products to your cart and checkout.
- Host: GitHub
- URL: https://github.com/geminimvp/solidus_premade_carts
- Owner: geminimvp
- License: bsd-3-clause
- Created: 2018-07-06T19:34:15.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-20T16:13:00.000Z (almost 5 years ago)
- Last Synced: 2024-04-05T11:33:14.911Z (6 months ago)
- Language: Ruby
- Size: 54.7 KB
- Stars: 1
- Watchers: 11
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
SolidusPremadeCarts
===================The fastest way to get your customers from "Looks neat" to "thanks for purchasing."
Some shopping platforms allow customers to add a specific item to their cart by
clicking a link, and they may even take the customer to the checkout page. We
improve on that capability a little by allowing the store owner to specify more
than one product. In the future, we hope to allow promotions to be applied as well.Installation
------------Add solidus_premade_carts to your Gemfile:
```ruby
gem 'solidus_premade_carts'
```Bundle your dependencies and run the installation generator:
```shell
bundle
bundle exec rails g solidus_premade_carts: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_premade_carts/factories'
```Contributing
-------------This is an open source project, so we encourage users to contribute fixes and
improvements. Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our
contribution process.Copyright (c) 2018 Gemini Development LLC, released under the New BSD License