Open JoeShep opened 4 years ago
-->My Products menu --> list of products for that user is displayed -->product details (individual product)
• An update button needs to be added next to each product quantity in the product details.
• add a button next to each product quantity section, when clicked, calls a form to take in a new value for quantity, then and update button.
• Will require Product Id • Fetch call to the API to execute a PUT
•When the API received the PUT fetch call from the Client side, the PUT method on the Product view will be executed.
•Product Table •Customer Id
Given a user needs to sell more of an existing product When the user is viewing the details for that product Then a hyperlink should appear next to the quantity remaining field labeled "Update"
Given user is viewing the details of a product s/he is selling When the "Update" hyperlink is clicked Then the user is able to update the quantity of the product