-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Fixed in 2.2.xThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.2 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentup for grabs
Description
Preconditions
- Magento CE v2.1 installed
Steps to reproduce
- Can't reproduce using core Magento shipping carriers. Need two shipping carriers with different carrier codes but same method codes.
E.g: UPS with GND and 1DA and UPS_1 with GND and 1DA
Expected result
- Should be able to select Ground from either carrier
Actual result
- Clicking on the first Ground
Issue would appear to lie in: vendor/magento/module-checkout/view/frontend/web/template/cart/shipping-rates.html
The id of the radio is being set to 's_method_' + method_code whereas which would for the above scenario would result in two radio elements both with the ID of "s_method_GND"
However, in the checkout/shipping.html file there's a check to see if there's other rates, and if there is the ID is set to 's_method_' + method.carrier_code + '_' + method.method_code which works correctly.
The fix would be to implement the same logic on the cart estimator
Metadata
Metadata
Assignees
Labels
Fixed in 2.2.xThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.2 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentup for grabs