Table of Contents
Multi Shops
Workspace
- workspace maxo36, /home/dang/data/workspace/75djangoshop
Methods
- 2 scoops django book
- Rule based system:
Features
- payment
- shipping
- multiple product types
Headline
Design Class Diagram
Items
Product has picture, descriptions, attributes: expire date, provider, producer (supermarkt)
Provider
Producers or whole salers.
Category
Parent category, child category. Also catalogue
Inventory
Updated when items are bought or sold
Buyer
Check order lists for ordered items. When orders are placed a collecting list is sent to buyers. The items can be sorted by providers. Buyer create collecting orders.
Collecting List
Collecting list contain items to add to inventory
Customers
Browse catalogue, select items to put in shopping cart or wish list. Place orders. Pay for items by selecting payment methods.
Users
User of the system: buyer, customer
Accounting
Update buying cost and selling income.
Shipping
Shipment created with items, total weight and cost. This can be treated as special type of shipment, besides types of delivery to customers.
Management
Assign role to users and access right to the data.
Design: Activity Diagram
Customer browse category and create shopping cart. When checkout, the items in the shopping cart go in to order. The order is added to orders list, shorted by creation date. If ordered items are not in distribution inventory, a collecting order is created from the order, or the order is marked as collecting. All collecting orders are sent to buyer with the items sorted by provider. The buyer will collect the items from providers (supermarkt). The items are added to supplier inventory and ready to be shipped. Orders that are shipped can show up. When shipment invoice received, the buyer will update the shipment as paid.
Order has states which can be modified by certain user.