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

Quick Order CSV File Upload: Provide error message for file with invalid SKUs #857

Open
M-Behr opened this issue Aug 31, 2021 · 0 comments
Labels
enhancement Enhancement to an existing feature

Comments

@M-Behr
Copy link

M-Behr commented Aug 31, 2021

Is your feature request related to a problem? If yes, please describe it.
I'm always frustrated when I did not receive any information about the invalid products that could not be added to the shopping cart via CSV upload.

Describe the desired solution.
An error message is displayed after file upload. It is an inline message below file upload field.

Note: It should look like the error message when user enters invalid SKU in input field.

Describe alternatives you've considered.

  1. Error toast is displayed after click on "Add to Cart" and valid products are added to the cart.
  2. An error message is displayed and no products are added. Products can only be added if all products have been identified without errors.

=> Both solutions should also be applied to the quick order form. A toast could be displayed after click on "Add to Cart and valid products are added to the cart or "Add to Cart" button is disabled so that no products are added until form is valid.

Note: Please discuss the possibilities with the UX team. The pattern depends on when we validate what. It would be nice if the error behavior of the CSV upload could be consistent with the behavior for the quick order form.

Provide additional context.
Example CSV file: Sample_CSV_file.csv

The text for the error message could be:

The following products with these IDs could not be added to the shopping cart:

  • 201807
  • 20181304

Please check the product ID as well as the listed quantity.

AB#69391

@M-Behr M-Behr added the enhancement Enhancement to an existing feature label Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant