magento2
magento2 copied to clipboard
Magento Admin - Hitting enter when configuring a product to add to order in admin does not save the custom options
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”.
Hi @blockedie. Thank you for your report. To speed up processing of this issue, make sure that you provided the following information:
- Summary of the issue
- Information on your environment
- Steps to reproduce
- Expected and actual results
Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release
For more details, review the Magento Contributor Assistant documentation.
Add a comment to assign the issue: @magento I am working on this
To learn more about issue processing workflow, refer to the Code Contributions.
- Join Magento Community Engineering Slack and ask your questions in #github channel.
:warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
:clock10: You can find the schedule on the Magento Community Calendar page.
:telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel
Hi @engcom-November. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
-
[ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
Details
If the issue has a valid description, the labelIssue: Format is valid
will be added to the issue automatically. Please, edit issue description if needed, until labelIssue: Format is valid
appears. -
[ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add
Issue: Clear Description
label to the issue by yourself. -
[ ] 3. Add
Component: XXXXX
label(s) to the ticket, indicating the components it may be related to. -
[ ] 4. Verify that the issue is reproducible on
2.4-develop
branchDetails
- Add the comment@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on2.4-develop
branch, please, add the labelReproduced on 2.4.x
.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here! -
[ ] 5. Add label
Issue: Confirmed
once verification is complete. -
[ ] 6. Make sure that automatic system confirms that report has been added to the backlog.
Verified the issue on Magento 2.4-develop branch however we are getting different error message on performing mentioned steps: "The requested qty is not available" and the product is not getting added - Issue Please find the attached video below:
https://user-images.githubusercontent.com/60198231/162721713-525a1c4b-17c7-4380-a2b5-4c89fd20ddac.mp4
However on clicking OK button instead of hitting "Enter" while configuring, this issue is not reproducible. User is able to add product and submit order. No error message is displayed.
https://user-images.githubusercontent.com/60198231/162720965-41d64575-3720-4c79-b87c-81c409ee5bc7.mp4
Hence confirming this issue as the product is getting selected on hitting ENTER but not able to add the product
:white_check_mark: Jira issue https://jira.corp.magento.com/browse/AC-2812 is successfully created for this GitHub issue.
:white_check_mark: Confirmed by @engcom-November. Thank you for verifying the issue.
Issue Available: @engcom-November, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.