VbzCart/docs/tables/shop cart data

From Woozle Writes Code
< VbzCart‎ | docs‎ | tables
Revision as of 12:30, 24 July 2009 by imported>Woozle (VbzCart/tables/shop cust data moved to VbzCart/tables/shop cart data: this is essentially an auxiliary table for shop_cart)
Jump to navigation Jump to search

About

  • Purpose: This is a simple table for retaining customer data entered at check-out time before converting the cart to an order.

SQL

<section begin=sql /><mysql>DROP TABLE IF EXISTS `shop_cust_data`; CREATE TABLE `shop_cust_data` (

 `ID`         INT NOT NULL AUTO_INCREMENT,
 `ID_Cart`    INT NOT NULL COMMENT "shop_carts.ID",
 `ID_Key`     INT NOT NULL COMMENT "shop_cust_data_types.ID of data type",
 `Val`        VARCHAR(255) NOT NULL COMMENT "Value of data item",
 PRIMARY KEY(`ID`)
) ENGINE = MYISAM;</mysql>

<section end=sql />