Add Fligth that is a travel service product
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db/default/spree
lib
script
spec
.gitignore
.rspec
Gemfile
LICENSE
README.md
Rakefile
SPREE_TRAVEL_VERSIONS
Versionfile
spree_travel_flight.gemspec

README.md

Spree Travel Flight

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.

Requirements

Spree

Spree Travel Flight now requires Spree version >=2.3.

Spree Travel Core

Spree Travel Flight now requires a Spree Travel Core version >=2.3.

Installation

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.

  1. Add the following to your Gemfile
  gem 'spree_travel_flight’, :git => 'https://github.com/openjaf/ spree_travel_flight.git', :branch => '2-3-stable'
  1. Run bundle install

  2. To copy and apply migrations run:

rails g spree_travel_flight:install
  1. Run rake spree_travel_flight:load

Features

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

Contributing

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:

  1. Post a pull request.
  2. Or open a GitHub issue.

License

Copyright © 2013 OpenJAF, released under the New BSD License.