- A spree extension that provides ability to have special discounts like Buy X Get Y free.
- Adminsrated role user create customized promotions using this and configure the product quantity as per the need.
- This extension extends the spree promotions and provides ability to create different type of promotions.
Some of the following promotions we can create are using this -
- Buy One Get One
- Buy Two Get Two
- Buy One Get Two and many others combinations.
- These promotions can also be work in combination with the spree Product Rule.
- This extension is supported by all storefronts -
-
Add this extension to your Gemfile with this line:
gem 'spree_buy_x_get_y'
-
Install the gem using Bundler
bundle install
-
Copy & run migrations
bundle exec rails g spree_buy_x_get_y:install
-
Restart your server
If your server was running, restart it so that it can find the assets properly.
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 update
bundle exec rake
Copyright (c) 2022 Spree Edge. released under the New BSD License