Online documentation - Websydian v6.0 |
Users Guide | Patterns Reference | WebsydianExpress | Search |
The Cart entity describes a mechanism to collect items in a virtual cart during a user session.
Refer to the introduction to the Cart Entity for further details.
The Cart entity is created the first time an item is selected and an ItemLineInCart record is created.
The Cart entity defines the following fields:
CartSequence | Unique surrogate key of Cart entity. |
CartAmount | Derived field displaying the total amount of the Item Lines in the Cart. It is a part of the implementation of the WebShop pattern to modify the scoped derivation function to calculate the value of the CartAmount field. |
refers to GenericUser | Optional relation to the GenericUser instance that owns the Cart. The reference is specified a GenericUser instance exists for the web user (which is not the case if the user is a Visitor that has not yet submitted an order). |
CartStatus | Set from status Non-Order to Order when the order has been processed. |
CartCreateDate | Initialised to current date when the Cart is created. |
CartCreateTime | Initialised to current time when the Cart is created. |
CartOrderDate | Set to current date when the order has been processed. |
CartOrderTime | Set to current time when the order has been processed. |
The Cart entity inherits from Abstract.DataAccess, FOUNDATION/EditDetail, and Abstract.Surrogate..