The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.82 - 2011-04-21

  • Implement online orders. This required many changes, including abandoning the countries/zones from osCommerse, and using those from Locale::SubCountry instead (to implement the onChange logic for the countries menu wiht less pain).
  • Change code, and docs, so storing data into order_items table does not perform calculations, e.g. tax. Only perform calculations when reporting (outputting order items, totals).
  • Split place.orders.pl into import.products.pl and place.orders.pl.
  • Fix typo in dir name in $HOME/.perl/Business-Cart-Generic/ which used junk left over of copy-and-paste from Benchmark-Featureset-LocaleCountry. This is a doc fix only, in Business::Cart::Generic.
  • Stop dropping temp product_* tables in Loader.populate_tables(), since that was interferring with the drop/create/populate/place.order cycle.
  • Rename order.index.page.tx to export.order.index.page.tx, and order.page.tx to export.order.page.tx, to make room for online order templates.
  • Add country to data/order.items.csv and data/tax.rates.csv, and rearrange order of columns in those files. This is to fix the problem where 2 zones in different countries have the same code, e.g. VIC. Change Database::Loader to match.
  • Change auto-generated model in products table from (sprintf) SKU-%02i to SKU-%04i.
  • Remove product and model columns from data/order.items.csv. They're redundant in demo data.
  • Add online.order.page.(js,tx), for use by the Order tab. Add View::Order and Controller::Order to match.
  • After searching for order, fix calculation of total price and tax.

Documentation

Modules

Basic shopping cart

Provides

in lib/Business/Cart/Generic/Base.pm
in lib/Business/Cart/Generic/Controller.pm
in lib/Business/Cart/Generic/Controller/AutoComplete.pm
in lib/Business/Cart/Generic/Controller/Initialize.pm
in lib/Business/Cart/Generic/Controller/Order.pm
in lib/Business/Cart/Generic/Controller/Search.pm
in lib/Business/Cart/Generic/Database.pm
in lib/Business/Cart/Generic/Database/AutoComplete.pm
in lib/Business/Cart/Generic/Database/Base.pm
in lib/Business/Cart/Generic/Database/Create.pm
in lib/Business/Cart/Generic/Database/Export.pm
in lib/Business/Cart/Generic/Database/Import.pm
in lib/Business/Cart/Generic/Database/Loader.pm
in lib/Business/Cart/Generic/Database/Order.pm
in lib/Business/Cart/Generic/Database/Product.pm
in lib/Business/Cart/Generic/Database/Search.pm
in lib/Business/Cart/Generic/Schema.pm
in lib/Business/Cart/Generic/Util/Config.pm
in lib/Business/Cart/Generic/Util/Logger.pm
in lib/Business/Cart/Generic/Util/Validator.pm
in lib/Business/Cart/Generic/View.pm
in lib/Business/Cart/Generic/View/AutoComplete.pm
in lib/Business/Cart/Generic/View/Base.pm
in lib/Business/Cart/Generic/View/Order.pm
in lib/Business/Cart/Generic/View/Product.pm
in lib/Business/Cart/Generic/View/Search.pm