-
Notifications
You must be signed in to change notification settings - Fork 9.4k
#25529: Fixed the wrong condition to output "Shipping Method Title" #25530
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
#25529: Fixed the wrong condition to output "Shipping Method Title" #25530
Conversation
"Magento/Checkout/view/frontend/web/js/view/summary/shipping.js" - added additional checking of shippingMethod type - need to be an array - fixed condition to output "shipping method title"
Hi @andrewbess. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
"Magento/Checkout/view/frontend/web/js/view/summary/shipping.js" - fixed condition for shippingMethod
Hi @VladimirZaets, Could you review the latest commit? |
Hi @VladimirZaets, thank you for the review. |
✔️ QA Passed |
Hi @andrewbess, thank you for your contribution! |
Description (*)
The wrong condition to output "shipping method title" in Magento_Checkout/js/view/summary/shipping
return shippingMethod ?
shippingMethod['carrier_title'] + shippingMethodTitle :
shippingMethod['carrier_title'];
What can happen if shippingMethod will not be an array?
Fixed Issues (if relevant)
Manual testing scenarios (*)
quote.shippingMethod('test')
beforeshippingMethod = quote.shippingMethod();
Questions or comments
Contribution checklist (*)