-
Notifications
You must be signed in to change notification settings - Fork 0
Purchase flow
This section describes the process in which a user purchases one or more items in the store. The process is broken into multiple steps which are first listed and then detailed.
- User opens the store frontpage and is presented with a selection of available products
- User adds a product to their cart
- User opens their cart
- User chooses to check out
- User verifies the amount and proceeds with purchase
- User pays for the order
- User is shown the completed order
- User is sent a receipt
This and every following step requires the user to be logged in
The store frontpage presents two pieces of information
- Rebate information
- Products
The top of the store frontpage consist of rebate information for the logged in user.
If the user is a member of LinTek she will be presented with a text describing that the rebate will be added at check out.
If the user is a funkis she will be presented with their remaining funkis rebate.
FIXME: Festival volunteer workers (Flamman, KK, Baljan, etc) with a given rebate does not see any indicator for their rebate.
This feature is using already existing information in the user
model which is accessed from current_user
.
The rest of the store frontpage consist of the available products. The products are fetched from the database endpoint /api/v1/shopping_product
with the parameter limit_items=true
.