Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit Product #14

Open
thegenem0 opened this issue Mar 14, 2023 · 0 comments
Open

Edit Product #14

thegenem0 opened this issue Mar 14, 2023 · 0 comments
Labels

Comments

@thegenem0
Copy link
Contributor

thegenem0 commented Mar 14, 2023

Description:

As a user of the Inventory Management Application, I want to be able to edit the information of a product in the system. This will allow me to keep my inventory up-to-date with accurate information.

Acceptance Criteria:

  • Clicking on the "Edit" button in the Single Product View page or in the Products Table will redirect the user to the Edit Product page.
  • The Edit Product page displays a form with the following fields: SKU, Product Name, Quantity, Category, Unit Price, Description, and Image (if available).
  • The current values of the product are pre-populated in the form fields.
  • The user can change any or all of the fields and save the changes by clicking a "Save" button.
  • The user can click a Cancel button that show a dialog to confirm, and upon selecting yes, returns them to the View Single Product Page
  • If the user tries to save the changes without filling out all required fields, an error message will be displayed under the fields in issue.
  • If the user tries to save changes to the SKU field, the system will check that the new SKU does not already exist in the database. If it does, an error message will be displayed.
  • After the user saves the changes, they will be redirected back to the Single Product View page for the updated product.
  • The edited product information will be updated in the Products table and any other relevant parts of the application.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant