VbzCart/docs/tables/cart data: Difference between revisions
Jump to navigation
Jump to search
imported>Woozle (Created page with "==About== * '''Purpose''': This is a simple table for retaining customer data entered at check-out time before converting the cart to an order. * '''Relates to''': parent: {{l...") |
m (Woozle moved page VbzCart/VbzCart/tables/cart data to VbzCart/docs/tables/cart data without leaving a redirect: part 3/5) |
(No difference)
|
Latest revision as of 01:56, 25 February 2024
About
- Purpose: This is a simple table for retaining customer data entered at check-out time before converting the cart to an order.
- Relates to: parent: shop_cart
- History:
- 2019-07-25 creating from scratch, but very similar to the (obsolete) shop_cart_data table
SQL
DROP TABLE IF EXISTS `cart_data`;
CREATE TABLE `cart_data` (
`ID_Cart` INT NOT NULL COMMENT "shop_cart.ID",
`name` VARCHAR(63) NOT NULL COMMENT "field name - defined in code",
`value` VARCHAR(255) NOT NULL COMMENT "Value of data item",
PRIMARY KEY(`ID_Cart`,`name`)
) ENGINE = InnoDB;