/spree_travel_core

Verticalization of Spree E-Commerce for Travel Web

Primary LanguageRubyBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Spree Travel Core

Spree Travel Core 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

Rails and Spree

Spree Travel Core now requires Rails version >= 4.0 and a Spree version >=2.3.

Installation

Spree Travel Core 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_core’, :git => 'https://github.com/openjaf/spree_travel_core.git', :branch => '2-3-stable'
  1. Run bundle install

  2. To copy and apply migrations run:

    rails g spree_travel_core:install
    

Features

  • Adds the concept of types of products to spree, allowing to create common functionalities for a specific type of product.
  • Removes the shipping logic from spree no needed on travel agencies.
  • Adds the concept of Context to spree, providing the logic for creating reservations on an specific tim.
  • Adds the concept of Rates to spree. Simplifying the logic of different prices in different times of the year.
  • Adds new calculators and search logics on the main page of spree. It simplifies the user experience when searching for products with different specifications.

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.