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

  1. The user is on the main page of the web store.

  2. 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.

  3. The extension generates a box containing information on the products received from the STACC recommender system.

  4. The user finds a product they would like to purchase from the recommended products and clicks on it in the recommender box.

  5. This event is caught by the extension and information about the product (product ID, properties) are sent to STACC's recommender system.

  6. The user is directed to the product's page in the web store (product view).

  7. 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.

  8. The extension generates a box containing information on the products received from the STACC recommender system.

  9. The user proceeds to add the product to their shopping cart.

  10. The extension catches the add-to-cart event and sends infromation to the STACC recommender system.

  11. The user proceeds to checkout.

  12. 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.

  13. A recommendation box with recommendations based on the user's shopping cart is displayed on the checkout page.

  14. The user pays for the item.

  15. 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)