shopping.Cart
: Shopping cart¶
Cart(id, user, today, invoicing_address, delivery_address, delivery_method, invoice)
name |
type |
verbose name |
id |
BigAutoField |
ID |
user |
ForeignKey to User |
Author |
today |
DateField |
Today |
invoicing_address |
ForeignKey to Address |
Invoicing address |
delivery_address |
ForeignKey to Address |
Delivery address |
delivery_method |
ForeignKey to DeliveryMethod |
Delivery method |
invoice |
ForeignKey to VatProductInvoice |
Invoice |
invoice_button |
VirtualField |
Invoice |
name_column |
VirtualField |
Name |
navigation_panel |
VirtualField |
(None) |
workflow_buttons |
VirtualField |
Workflow |
overview |
VirtualField |
(None) |
Master tables: shopping.Carts : Shopping carts, shopping.MyCart : My Shopping carts, shopping.AllCarts : Shopping carts
Slave tables: shopping.ItemsByCart : Shopping cart items
Referenced from shopping.CartItem.cart
Database fields¶
Internal name |
Verbose name |
Help text |
---|---|---|
id |
ID |
|
user |
Author |
The end user who created this cart. |
today |
Today |
This date of this plan. This is automatically set to today each time the plan is called or updated. |
invoicing_address |
Invoicing address |
The invoicing address. A pointer to a shopping address of this user. |
delivery_address |
Delivery address |
The delivery address. A pointer to a shopping address of this user. |
delivery_method |
Delivery method |
|
invoice |
Invoice |
The invoice that has been created from this shopping cart. This field is empty as long as the user didn’t yet run start_order. |
invoice_button |
Invoice |
|
name_column |
Name |
|
navigation_panel |
None |
|
workflow_buttons |
Workflow |
List of actions that change the workflow state of this object. |
overview |
None |