Files | Admin

Notes:

Release Name: opensteam v0.9.3

Notes:
opensteam v0.9.3 released!

We finally released a new openSteam version with some major enhancements, like shipping-rates and taxes.
For a full list of changes view the CHANGELOG.

New Features:
* Taxes: define taxes or tax-groups for products and regions
* ActiveMerchant Integration (CreditCard Payment)
* PaymentMethods: use the implemented creditcard payment or simply implement your own payment-method
* ShippingRate: define rates for products, regions and payment-types, or implement your own shipping-rate calculation
* PDF-Export for invoices (using the excellent 'prawnto' plugin)
* Rails 2.1.1 compatibility.

Homepage: http://www.opensteam.net
Blog: http://blog.opensteam.net


Changes: * added a ContainerModel to hold the basic ShoppingCart Logic (add/update/delete items, increment/decrement), STI * moved Cart from session to database (into Container) * moved OrderBase into Container (same logic as ShoppingCart) * added a Tax-System (TaxZones, TaxGroups, Calculation, etc), MVC * implemented ActiveMerchant Integration. (CreditCard Payment) * added PaymentTypes and a Payment Base Class to simplify future integration of payment-methods * added ShippingRate calculation (ShippingRates, Zones, ShippingRateGroups), MVC * added shipping-rates, taxes, netto_price calculation, payment_type to OrderBase (Container) * refactored Checkout-Process and OrderBase-Model in order to work with payment_type, shipping-rate and taxes * added PDF-Export for Invoices (using the prawn-gem and prawnto-plugin http://www.cracklabs.com/prawnto ) * removed state-logic from InvoiceBase (not needed) * added payment_process initializers (CreditCardPayment) * added Configuration Model (Backend), to hold simple key-value pairs * added units tests for Container::Base (Order, Cart), Payment, ProductBase and Order * refactored the "set_properties=" method in ProductBase. Now "building" the inventory-objects instead of creating. * refactored the _attributes partial for products in order to work with the new "set_properties=" method. * InventoryBase: added a named_scope called :by_properties (replaces the exists_by_properties extension-method fpr the inventories-association in ProductBase): Now: Single SQL-Query instead of fetching every single property. * fixed bug in StateMachine caused by inheritance: declared 'observers' and 'inialstate' as class_inheritable_accessor * StateLogic: changed state-name from .downcase to .underscore * deleted unnecessary partials (TODO: more to delete!) * renamed cart_controller to carts_controller (ActiveRecord Model, recources!) * added a "init_opensteam_config" migration file, to create admin-uses and load fixtures (zones, tax_zones, shipping_rates, configuration) * added verification_value to credit_card_payment partials * deleted lib/cart_base.rb (not needed anymore, now Opensteam::Cart < Opensteam::Container::Base)