Difference between revisions of "VbzCart/pieces/cart"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(data tables)
(updated)
 
(8 intermediate revisions by the same 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===
* [[VbzCart/code/files/cart.php]] -- basic business logic
+
* {{l/vc/code|shop}} -- customer-facing shopping support
** [[VbzCart/code/files/cart-data.php]] -- non-item data stored in cart
+
* {{l/vc/code|cart}} -- basic business logic
** [[VbzCart/code/files/cart-lines.php]] -- handles content items
+
** {{l/vc/code|cart/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)
+
===data tables===
==data tables==
+
* {{vbzcart|table|shop_cart}}
* {{l/same|tables/shop_cart}}
+
** {{vbzcart|table|shop_cart_data}}: contact information for payment and shipping
** {{l/same|tables/shop_cart_line}}
+
** {{vbzcart|table|shop_cart_event}}: cart-specific event log
** {{l/same|tables/shop_cart_event}}
+
** {{vbzcart|table|shop_cart_line}}: cart contents
** {{l/same|tables/shop_cart_data}}
+
 
 +
==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

data tables

Other