-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Description
Preconditions (*)
- Magento ver. 2.4.2-p2
Steps to reproduce (*)
In Magento 2, navigate to Sales > Order and create a new order
Select "Add Products" to add a product to the order from the product list.
In the product list, find an upholstery product and select "Configure". In the configure pop-up, select the custom options and enter the quantity. From the quantity field HIT ENTER instead of using the cursor to select "Ok" in the top right corner. Note that the configuration pop up window has closed.
add the product to the order and return to the order page. Scroll to the product you just added and note that you see an error "The product has required options". Select "Configure" on the product and note that the custom options that were set before are no longer present, suggesting they were not saved.
Once you reconfigure the options, the error goes away. On the order page, if you use "Enter" rather than selecting "Ok" in the configuration pop-up, the configurations are saved as appropriate.
Current behavior (please include any screenshots or videos as needed):
When I select different custom options for a MTO product and then hit "enter" on the keyboard to apply changes and close the window, the custom options are not saved. When I add the product to the order, and find the product, I notice that I receive an error "The product has required options" and I am forced to reconfigure the product options
Here's a loom video showing what I did to encounter the error: [https://www.loom.com/share/40dab8667bef40a882c513f52eb2985a]
Expected behavior:
I should be able to hit "Enter" to apply the custom options and close the window and expect that the options are saved when I add the product to the order.
Additional Information:
2.4-develop branch behavior: Product got selected but "The requested qty is not available" error is displayed on clicking "Add selected products" button.
This issue is not reproducible for Bundle Products on 2.4-develop branch.On hitting "Enter" instead of OK button, product is not getting selected.
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- [] Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- [ X ] Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.