-
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
Issue 25595 - multiple address virtual product error at checkout fixe… #29269
Issue 25595 - multiple address virtual product error at checkout fixe… #29269
Conversation
…d by adding a default message
Hi @ralbin. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
@magento give me test instance |
Hi @ralbin. Thank you for your request. I'm working on Magento instance for you |
Hi @ralbin, here is your new Magento instance. |
@magento give me 2.4-develop instance |
Hi @ralbin. Thank you for your request. I'm working on Magento 2.4-develop instance for you |
Hi @ralbin, here is your Magento instance. |
@magento run all tests |
@magento run Integration Tests |
@magento run Functional Tests EE |
@magento run all tests |
@magento run Integration Tests |
1 similar comment
@magento run Integration Tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @ralbin. Thank you for collaboration. Can you please add a translation for the added message?
@VladimirZaets I added an entry in app/code/Magento/Multishipping/i18n/en_US.csv:95 I hope that is what you expected. |
@magento run all tests |
Hi @sidolov, thank you for the review. |
✔️ QA Passed Manual testing scenario:
Before: ✖️ An empty error message appears After: ✔️ The valid error message is shown And we are able to translate this phrase: |
@magento run all tests |
Hi @ralbin, thank you for your contribution! |
When you checkout with multiple addresses, and remove all the products that require shipping and you are only left with virtual products, no error is presented. This sets a default message to it is more helpful.
Description (*)
The class app/code/Magento/Multishipping/Controller/Checkout.php:127 is trying to get an error message that comes from core_config_data but no default message exists, causing the result to be null.
$error = $this->_getCheckout()->getMinimumAmountError();
This sets a default value allowing this render an appropriate message until one is created by the store owner.
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)