Product page users can see products and associated promotion info for each item in main product page
Note: the logic for matching a promotion to a particular product is currently inefficient (currently O(n^2)) but works for our scope. Feel free to refactor that logic if you would like to make it more efficient for the sake of best practice.
Currently the Product Market Page can:
- Display all products available from the Inventory backend
- Display promotional data for each product that has an associated Promotion connected by
productSku
- Show more information when clicking on the top half of the product's display box. Upon which will open a modal with more details such as mock shipping data,
brand
, andsku
number
Buttons to Add to Cart and enter a quantity desired are displayed but not operable. This will be function after completing AFP-48