Application Functionality Walkthrough (UC1) - stacc-dasso/woocommerce-extension GitHub Wiki
Use Case 1
Primary Actor
- Customer of the web store
Preconditions
- User is signed into the web store
- User loads the main page
Main scenario
-
The user is on the main page of the web store.
-
The extension asks the STACC recommender system for a list of recommended products to display, based on the user's identificator and the identificator of the page's recommendation box.
-
The extension generates a box containing information on the products received from the STACC recommender system.
-
The user finds a product they would like to purchase from the recommended products and clicks on it in the recommender box.
-
This event is caught by the extension and information about the product (product ID, properties) are sent to STACC's recommender system.
-
The user is directed to the product's page in the web store (product view).
-
The extension asks the STACC recommender system for a list of recommended products to display, based on the user's identificator and the identificator of the pages recommendation box.
-
The extension generates a box containing information on the products received from the STACC recommender system.
-
The user proceeds to add the product to their shopping cart.
-
The extension catches the add-to-cart event and sends infromation to the STACC recommender system.
-
The user proceeds to checkout.
-
The extension asks the STACC recommender system for a list of recommended products to display, based on the user's identificator and the identificator of the pages recommendation box.
-
A recommendation box with recommendations based on the user's shopping cart is displayed on the checkout page.
-
The user pays for the item.
-
The purchase event is caught and sent to STACC.
(that last picture is just illustrative, didn't have anything to test paying at the moment, thats why the prices wont match)