-
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
Checkbox IDs for Terms and Conditions should be unique in Checkout #6207
Comments
…d to make id of checkout more unique.
Here is an example of customized checkboxes: http://fiddle.jshell.net/78n9pr65/ |
Thank you for reporting the issue. Our internal on is MAGETWO-61048. |
Solved in 2.1.4 EE? |
What kind of support is this? |
2.1.5 and this bug still exists... |
[EngCom] Public Pull Requests - MAGETWO-69379 use payment method name to make checkbox of agreements more unique #6207 #9717 - MAGETWO-69378 #4272: v2.0.4 Credit memos with adjustment fees cannot be fully refunded with a second credit memo #9715 - MAGETWO-69375 Can't delete last item in cart if Minimum Order is Enable #6151 #9714 - MAGETWO-69230 #7279 bill-to name and ship-to name truncated to 20 chars #9654 - MAGETWO-69155 Fix coding standard in Magento AdminNotification module #9627
Closing, as issue is fixed in |
@ishakhsuvarov, I hate to underline the obvious, but if the bug was discovered on 2.1.x and then reportedly "fixed", it is commonly expected to see that fix in the closest patch (2.1.x) release. To be honest, I don't see how is "merged to develop branch" an acceptable resolution to an acknowledged bug. Until the fix is officially released, a lot of the users are still struggling with it. Could you please at least include a short piece of information that will explain to an ordinary merchant, how he\she can benefit from such s fix?
Keeping the issue open until the fix appears in a 2.1.x release is also a feasible option. |
@korostii Reopening, thank you for pointing out my mistake. |
No problem, keep up the good work! |
Internal ticket to track issue progress: MAGETWO-69379 |
I still encounter this issue in 2.1.10. How should I solve this? |
… make checkbox of agreements more unique magento#6207 magento#9717 (cherry picked from commit 14b9b98)
I have tried to apply #13543 and #6207 patch file for fixing the terms and conditions issue in web shop. Still I'm facing issue. Steps to reproduce:
|
I see this issue in Magento 2.3.5-p2. However, it only occurs when the customer has multiple stored payment methods. Each payment method agreement checkbox gets the same id making all but the first checkbox unclickable. We are using Braintree. Altering the file below with the code below in the function "getCheckboxId" resolves the issue. File: app/code/Fss/Checkout/view/frontend/web/js/view/checkout-agreements.js Suggested Change: |
Magento_CheckoutAgreements places checkboxes into checkout to accept the respective terms and conditions. However, the html tag for the checkbox appears for each payment method with the same html id. It is bad practice to have the same html id multiple times and also introduces problems with css customization for these boxes which relies on unique ids.
Preconditions
Steps to reproduce
Expected result
Actual result
agreement_1
The text was updated successfully, but these errors were encountered: