Difference between revisions of "VbzCart/pieces/cart"
Jump to navigation
Jump to search
(related classes) |
(updated) |
||
Line 4: | Line 4: | ||
Cart functionality is defined in: | Cart functionality is defined in: | ||
===PHP files=== | ===PHP files=== | ||
− | * {{ | + | * {{l/vc/code|shop}} -- customer-facing shopping support |
− | * {{ | + | * {{l/vc/code|cart}} -- basic business logic |
− | ** {{ | + | ** {{l/vc/code|cart/cart-lines.php}} -- handles content items |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===data tables=== | ===data tables=== | ||
Line 20: | Line 14: | ||
** {{vbzcart|table|shop_cart_line}}: cart contents | ** {{vbzcart|table|shop_cart_line}}: cart contents | ||
− | === | + | ==Other== |
− | + | * [[/archive]] | |
− | |||
− | |||
− | |||
− | * | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 18:41, 16 September 2018
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.
Code
Cart functionality is defined in:
PHP files
- shop -- customer-facing shopping support
- cart -- basic business logic
- cart/cart-lines.php -- handles content items
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