Difference between revisions of "VbzCart/pieces/cart"
Jump to navigation
Jump to search
m (Woozle moved page VbzCart/cart to VbzCart/pieces/cart without leaving a redirect: reorganizing) |
m (→data tables: link updates) |
||
Line 11: | Line 11: | ||
* [[VbzCart/code/files/ckout.php]] -- handles checkout process / pages | * [[VbzCart/code/files/ckout.php]] -- handles checkout process / pages | ||
==data tables== | ==data tables== | ||
− | * {{ | + | * {{vbzcart|table|shop_cart}} |
− | ** {{ | + | ** {{vbzcart|table|shop_cart_data}}: contact information for payment and shipping |
− | ** {{ | + | ** {{vbzcart|table|shop_cart_event}}: cart-specific event log |
− | ** {{ | + | ** {{vbzcart|table|shop_cart_line}}: cart contents |
Revision as of 19:02, 25 January 2015
A cart is a temporary holder for a collection of items to be ordered plus any order-fulfillment data (contact/shipping info, payment). The contents of a cart may be used to create a new order, or may be abandoned. They cannot currently be added to an existing order, although this might be useful functionality.
Cart functionality is defined in:
PHP files
- VbzCart/code/files/shop.php -- shopping support
- VbzCart/code/files/cart.php -- basic business logic
- VbzCart/code/files/cart-data.php -- non-item data stored in cart
- VbzCart/code/files/cart-lines.php -- handles content items
- VbzCart/code/files/admin.cart.php -- administration
- VbzCart/code/files/page-cart.php -- public user interface (i.e. displays carts for customers)
- VbzCart/code/files/ckout.php -- handles checkout process / pages
data tables
- shop_cart
- shop_cart_data: contact information for payment and shipping
- shop_cart_event: cart-specific event log
- shop_cart_line: cart contents