Spree Travel Flight is intended to be a part of Spree Travel, providing spree e-commerce platform with the essential functionalities to behave as a travel agency management platform. This means that this spree extension will add new models, behaviors, views, etc… to spree, and will modify some of the definition it holds.
###Important Note The Spree Travel project is a work in progress, and will suffer major changes. Please use it and keep a live feedback with the team by opening a GitHub issue.
Spree Travel Flight now requires Spree version >=2.3.
Spree Travel Flight now requires a Spree Travel Core version >=2.3.
Spree Travel Flight is not yet distributed as a gem, so it should be used in your app with a git reference or you can download the source and build the gem on your own.
- Add the following to your Gemfile
gem 'spree_travel_flight’, :git => 'https://github.com/openjaf/ spree_travel_flight.git', :branch => '2-3-stable'
-
Run
bundle install
-
To copy and apply migrations run:
rails g spree_travel_flight:install
- Run
rake spree_travel_flight:load
- Using the product_types logic introduced by Spree Travel Core, defines a new type of product to encapsulate the common properties of flights reservations.
- Adds a new Calculator, to get fligt prices according to the time of the year, haw many persons are on the reservation, from where and where to the reservations arre for...
- Adds option types and option values to model flight rates and variants.
If you'd like to contribute a feature or bugfix: Thanks! To make sure your fix/feature has a high chance of being included, please read the following guidelines:
- Post a pull request.
- Or open a GitHub issue.
Copyright © 2013 OpenJAF, released under the New BSD License.