VbzCart/docs/pieces/item: Difference between revisions

From Woozle Writes Code
< VbzCart‎ | docs‎ | pieces
Jump to navigation Jump to search
imported>Woozle
m (Woozle moved page VbzCart/features/item to VbzCart/pieces/item: trying to have a saner organizational system)
imported>Woozle
(related concepts, table, code, classes)
Line 6: Line 6:


"Item" is the finest granularity with which the catalog represents items for sale. The stock-management interface can track stock items down to individual units if need be (e.g. collectible items with serial numbers), but this is not generally supported by the order management interface at present.
"Item" is the finest granularity with which the catalog represents items for sale. The stock-management interface can track stock items down to individual units if need be (e.g. collectible items with serial numbers), but this is not generally supported by the order management interface at present.
==Related==
* {{l/same|item type}} -- each item has a type
* {{l/same|item option}}
==Table==
* {{vbzcart/table|cat_items}}
==Code==
* {{vbzcart/code|vbz-cat-item.php}}
==Classes==
* '''collections''':
** '''clsItems''' (extends clsVbzTable)
* '''singular''':
** '''clsItem''' (extends clsDataSet)

Revision as of 17:51, 15 February 2015

An "item" in VbzCart is a particular work in a particular format/option, of which zero or more units may be in stock.

Examples:

  • a specific t-shirt design (title) in size XXL, longsleeve
  • a specific musical album as a CD

"Item" is the finest granularity with which the catalog represents items for sale. The stock-management interface can track stock items down to individual units if need be (e.g. collectible items with serial numbers), but this is not generally supported by the order management interface at present.

Related

Table

Code

Classes

  • collections:
    • clsItems (extends clsVbzTable)
  • singular:
    • clsItem (extends clsDataSet)