Ror ecommerce

Complete Ruby on Rails Ecommerce platform

Getting Started
Config
The Cart
Accounting
Addresses
Coupons
Deals
Fulfillment
Orders
Product Creation
Referrals
View the Project on GitHub drhenner/ror_ecommerce

This project is maintained by drhenner and many contributors.

ROR Ecommerce

Deals

The deal model is basically a "buy X get y percent free" or "buy X get y dollars off"

In the scenario "buy X get y percent free", X is buy_quantity and y is get_percentage. The way it works get_percentage is multiplied by the lowest costing item that "qualifies" for the deal.

NOTE: "qualifies" =>  a product qualifies if is of the correct
      product_type_id.  If the product_type_id doesn't match it will not
      qualify.  so you might have three pants but also one belt.  The belt
      and the pants will not be the same product_type_id.

In the scenario "buy X get y dollars off", X is buy_quantity and y is get_amount. The way it works get_amount is the number of cents reduced from the order total. Again the NOTE above about "qualifies" still is in effect