Skip to content

A spree extension that extends promotions for different use cases

License

Notifications You must be signed in to change notification settings

rahul-bluebash/spree_buy_x_get_y

 
 

Repository files navigation

Spree Buy X Get Y Free

About

  • 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.

Feature List

  • 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 -

Demo

ezgif com-gif-maker (1)

Installation

  1. Add this extension to your Gemfile with this line:

    gem 'spree_buy_x_get_y'
  2. Install the gem using Bundler

    bundle install
  3. Copy & run migrations

    bundle exec rails g spree_buy_x_get_y:install
  4. Restart your server

If your server was running, restart it so that it can find the assets properly.

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. The dummy app can be regenerated by using rake test_app.

bundle update
bundle exec rake

Contributing

See corresponding guidelines


Copyright (c) 2022 Spree Edge. released under the New BSD License

About

A spree extension that extends promotions for different use cases

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 93.4%
  • HTML 6.6%