VbzCart/docs/pieces/cart: Difference between revisions
Jump to navigation
Jump to search
imported>Woozle (shop.php is relevant to the cart) |
m (Woozle moved page VbzCart/VbzCart/pieces/cart to VbzCart/docs/pieces/cart without leaving a redirect: correct naming (was no way to import directly to this name)) |
||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
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 {{l/same|order}}, or may be abandoned. They cannot currently be added to an existing order, although this might be useful functionality. | 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 {{l/same|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: | 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=== | |||
* {{vbzcart|table|shop_cart}} | |||
** {{vbzcart|table|shop_cart_data}}: contact information for payment and shipping | |||
==data tables== | ** {{vbzcart|table|shop_cart_event}}: cart-specific event log | ||
* {{ | ** {{vbzcart|table|shop_cart_line}}: cart contents | ||
** {{ | |||
** {{ | ==Other== | ||
** {{ | * [[/archive]] |
Latest revision as of 01:53, 25 February 2024
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
- Template:L/vc/code -- customer-facing shopping support
- Template:L/vc/code -- basic business logic
- Template:L/vc/code -- handles content items
data tables
- Template:Vbzcart
- Template:Vbzcart: contact information for payment and shipping
- Template:Vbzcart: cart-specific event log
- Template:Vbzcart: cart contents