VbzCart/docs/pieces/cart: Difference between revisions
Jump to navigation
Jump to search
imported>Woozle (list of classes) |
imported>Woozle (related classes) |
||
Line 23: | Line 23: | ||
* '''clsShopCarts''' ''extends clsTable'' | * '''clsShopCarts''' ''extends clsTable'' | ||
* '''clsShopCart''' ''extends clsVbzRecs'' | * '''clsShopCart''' ''extends clsVbzRecs'' | ||
** uses cCartDisplay_full_shop and _ckout | |||
* '''clsShopCartLines''' ''extends clsTable'' | * '''clsShopCartLines''' ''extends clsTable'' | ||
* '''clsShopCartLine''' ''extends clsDataSet'' | * '''clsShopCartLine''' ''extends clsDataSet'' | ||
Line 46: | Line 47: | ||
**** '''clsPayment''' | **** '''clsPayment''' | ||
*** '''clsPerson_Recip''' | *** '''clsPerson_Recip''' | ||
Related classes: | |||
* '''clsOrder''' ''extends clsVbzRecs'' | |||
** uses cCartDisplay_full_ckout | |||
** uses cCartDisplay_full_TEXT | |||
** '''VC_Order''' | |||
*** uses cCartDisplay in ->TotalsObject() | |||
* '''clsOrderLine''' | |||
** uses cCartDisplay_full in ->RenderStatic_rows(), which does not appear to be actually used |
Revision as of 16:18, 4 September 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.
Code
Cart functionality is defined in:
PHP files
- Template:Vbzcart/code -- customer-facing shopping support
- Template:Vbzcart/code -- basic business logic
- Template:Vbzcart/code -- non-item data stored in cart
- Template:Vbzcart/code -- rendering classes for different contexts
- Template:Vbzcart/code -- handles content items
- Template:Vbzcart/code -- MediaWiki-based administration (not supported as of 2015-01-25)
- Template:Vbzcart/code -- public user interface (i.e. displays carts for customers)
- Template:Vbzcart/code -- handles checkout process / pages
data tables
- Template:Vbzcart
- Template:Vbzcart: contact information for payment and shipping
- Template:Vbzcart: cart-specific event log
- Template:Vbzcart: cart contents
classes
- clsShopCarts extends clsTable
- clsShopCart extends clsVbzRecs
- uses cCartDisplay_full_shop and _ckout
- clsShopCartLines extends clsTable
- clsShopCartLine extends clsDataSet
- cCartDisplay
- cCartDisplay_full abstract
- cCartDisplay_full_HTML abstract
- cCartDisplay_full_shop - for editable rendering (while shopping)
- cCartDisplay_full_ckout - for static rendering (at checkout time)
- cCartDisplay_full_TEXT - for plaintext rendering, mainly used for email confirmation
- cCartDisplay_full_HTML abstract
- cCartDisplay_full abstract
- cCartItem abstract
- cCartLine_base abstract
- cCartLine_static
- cCartLine_form
- cCartLine_text
- cCartLine_static
- cCartLine_base abstract
- clsCartTotal abstract
- clsCartTotal_shop
- clsCartTotal_admin
- clsCartVars extends clsTable_indexed
- clsCartVar extends clsRecs_indexed
- clsCartDataGrp abstract
- clsPerson abstract
- clsPerson_Buyer
- clsPayment
- clsPerson_Recip
- clsPerson_Buyer
- clsPerson abstract
Related classes:
- clsOrder extends clsVbzRecs
- uses cCartDisplay_full_ckout
- uses cCartDisplay_full_TEXT
- VC_Order
- uses cCartDisplay in ->TotalsObject()
- clsOrderLine
- uses cCartDisplay_full in ->RenderStatic_rows(), which does not appear to be actually used