-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[2.1.0][2.1.2][2.1.3] Adding a Configurable Product with options to cart leads to "You need to choose options for your item." #5882
Comments
Hello! Looks like you created product with required options. Could you check it? If yes, this is correct system behavior |
Yes, we did create a product with required options. If I try to add the product to cart without choosing an option i will get the message "This is a required field." for every option that was not set. If I choose a entry for all required options and click on "Add to Cart" I will get the message "You need to choose options for your item.". |
Just changed the title and the problem description. I found out that my problem only happens with configurable products with options. |
Hi Thank you for your request, but unfortunately I can't reproduce this issue. I have CE 2.1.0 and one configurable product with required and non required options (please, look at it on Pic 1) and there is no error like "You need to choose options for your item.". Probably, issue is in details, so could you help me reproduce it and provide more detailed steps what you are doing to get such error? It would be great if you can provide screenshots with product configurations. Thanks! |
I have this issue also. Let me try to describe it better. On a CATEGORY page, products with configurable options are displayed with an ADD TO CART button along with the available options. See http://foxtrotboutique.com/brands-we-love/level-99.html I believe this worked correctly in CE2.0.1 but cannot confirm. This is a seperate issue form the out of stock options beaing able to be selected (which there is a thread on) but related because you cannot tell which options are in stock on the category page prior to hitting the add to cart button. You get the notification regardless of whether or not the option you choose is in stock. Try it on my page to see the behavior for yourself. Select Size 27 on one of the items and then hit the add to cart button. |
I will try to setup a test system in the next few days and give you some more information. |
@epadmin, thanks for help, we already have internal ticket for issue which you have described. But as I understand it is not the same as @Hawk30100 's issue. |
Yes I do have this issue too, but some users here describe it as generated in the Category page, but to me is also generated in the product view page, I also wanna add I´ve noticed a reference to Percentage prices in the back end under the customazible options menu as warning, that I don´t really understand cause all my product have no options, just configurable with children |
Hi @to8gal |
It is cause i do not have any price setting as anything but fixed Sent from my phone Luca Cagnassi (+46) 722111977 Luca Cagnassi is also: www.to8gal.com “Think Green – Please do not print this email or any printable file attached unless you really need to“
|
Hi @to8gal, Thanks! |
What I meant before is I don´t really care to open a ticket on that even if incorrect, the only reason I mention that, is cause I think is related to the main problem I have, othe than that is nothing to open a ticket for me shall I modify the ticket already open? Thanks L
|
@to8gal, no need for that, thanks. |
@AZVO @to8gal I have found that on the PRODUCT page you get an error that says you must choose an option if you try to add an item to the cart where that OPTION is out of stock. The error is saying you must choose an option but should say "The option you have chosen is out of stock" This is related to the out of stock options not being marked out. If they were marked out like they are supposed to be then there would be no need for an error that says "the option you have chosen is out of stock" By fixing the issue with out of stock items not being marked out and unselectable, the issue on the PRODUCT page will be fixed. It will also help with the issue on the CATEGORY page but as I tested the CATEGORY page the behavior is the same regardless of if the product is in stock or not - it is going to the product page with the "you must select an option" message instead of just adding to the cart |
I will give it a try
|
Hi @epadmin. Thanks for help with that. I've created internal ticket to fix this. |
I just installed a fresh Magento 2.1.1 on our development environment and it seems like the problem was solved in 2.1.1. |
I just cloned our productive 2.0.8 system in order to update it to 2.1.2 and the problem is back. If I want to add a configurable product (color) to the bag, the page gets reloaded and the message: "You need to choose options for your item." is displayed. I updated the magento version using composer. In addition we are using the Porto theme 2.4.0.1 for Magento. |
@rganin Is this fix going to be released in a patch or as part of 2.1.3? I tried manually applying the fix, but it broke a lot of things. |
@rganin Could you please give us feedback in which future version this will be officially fixed? |
We updated now from 2.0.8 to 2.1.3 but still get the message "You need to choose options for your item.". |
Any update on this? In which version will this be fixed? |
We also face this issue on Magento 2.1.3. From the category page we select the required option and click the 'add to cart' button. After this we're redirected to the product with the message 'You need to choose options for your item.'. If i select the same option from the product page and then add it to my cart it works just fine. We do not face this issue on every category page, for same categories it does work. |
I have also this error message, has anyone a solution for this problem? |
I am currently running 2.1.4 and running into this bug. To replicate:
This is a little funny... On the onepage checkout success.... It says "You need to choose options"..... After checking out! EDIT: After this, the message keep appearing on every page I navigate to. I've cleaned the /var/www/var directory, the pub/static, magento cache:clean, reindexed. EVERYTHING. |
I upgrade to version 2.1.4. and this bug is not solved. I have exact the same error as mitcht described. |
This issue was closed, so there is no telling if it will get any attention now. |
Does anyone know if there is a solution for this? I have the issue with 2.1.3 - Someone says the issue is still in 2.1.4? Was this closed because there is a fix? |
2.1.4 and 2.1.3 same problem. Running MAMP. Issue only occurs when a file is uploaded as an option. |
Adding a Configurable Product with options to cart leads to error message: "You need to choose options for your item.".
Preconditions
Steps to reproduce
Expected result
Actual result
This problem does not affect the Simple Product with options.
The text was updated successfully, but these errors were encountered: