VbzCart/pieces/cart: Difference between revisions
from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
m →data tables: link updates |
→PHP files: repointing to GitHub repository |
||
| Line 3: | Line 3: | ||
Cart functionality is defined in: | Cart functionality is defined in: | ||
==PHP files== | ==PHP files== | ||
* | * {{vbzcart/code|shop.php}} -- customer-facing shopping support | ||
* | * {{vbzcart/code|cart.php}} -- basic business logic | ||
** | ** {{vbzcart/code|cart-data.php}} -- non-item data stored in cart | ||
** | ** {{vbzcart/code|cart-lines.php}} -- handles content items | ||
* | * {{vbzcart/code|mw/admin.cart.php}} -- MediaWiki-based administration (not supported as of 2015-01-25) | ||
* | * {{vbzcart/code|vbz-page-cart.php}} -- public user interface (i.e. displays carts for customers) | ||
* | * {{vbzcart/code|vbz-page-ckout.php}} -- handles checkout process / pages | ||
==data tables== | ==data tables== | ||
* {{vbzcart|table|shop_cart}} | * {{vbzcart|table|shop_cart}} | ||
Revision as of 19:09, 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
- shop.php -- customer-facing shopping support
- cart.php -- basic business logic
- cart-data.php -- non-item data stored in cart
- cart-lines.php -- handles content items
- mw/admin.cart.php -- MediaWiki-based administration (not supported as of 2015-01-25)
- vbz-page-cart.php -- public user interface (i.e. displays carts for customers)
- vbz-page-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
