store_controller.rb

Path: app/controllers/store_controller.rb
Last Update: Sun Apr 17 13:09:41 CDT 2005

The StoreController runs the buyer side of our store.

index
Display the catalog
add_to_cart
Add a selected product to the current cart
display_cart
Show the contents of the cart
empty_cart
Clear out the cart

{checkout} Initiate the checkout

save_order
Finalize the checkout by saving the order

[Validate]