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
Shipping method don't reload by default country when first reload page #34135
Comments
Hi @trungto3t. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. Please, add a comment to assign the issue:
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues 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 2.4-develop instance |
Hi @trungto3t. Thank you for your request. I'm working on Magento instance for you. |
Hi @trungto3t! 👋 |
Hi @trungto3t, here is your Magento Instance: https://f243b9c0f9ae3b48969f9df1aac23955-2-4-develop.instances.magento-community.engineering |
@magento i replicate issue on 2.4-develop instance https://www.loom.com/share/b8001e439def4505bcd1f4d375080c0e |
Hi @ajijshekh123. Thank you for working on this issue.
|
Hi @trungto3t,
Thanks |
❌ Something went wrong. Cannot create Jira issue. |
✅ Jira issue https://jira.corp.magento.com/browse/AC-1673 is successfully created for this GitHub issue. |
Unfortunately, not enough information was provided to create a Jira ticket. Please make sure you added the following label(s): Once all required labels are present, please add |
Hi, any update on this? 2.4 instance, same behavior. |
@magento give me 2.4-develop instance |
Hi @DavaGordon. Thank you for your request. I'm working on Magento instance for you. |
Hi @DavaGordon, here is your Magento Instance: https://4c16aa837a9c698b3d498332bd36d65a.instances.magento-community.engineering |
Reproduced on 2.4.dev Issue present if Ship to Applicable Countries set to Specific Country. |
Same issue here. Basic summary, the first call of
Yet, I'm on a store view that has the default country set to GB. The country field is showing 'GB', not 'NL'. After only changing the postcode, it realises it's mistake and fetches the
So, I assume the order of the execution is wrong here; It likely fetches the shipping methods as soon as possible, then updates the form according to the defaults, then attaches the field listeners (or the field listeners are bypassed/not triggered at all by the way the fields are updated). |
I got the same behaviour . Is there any update on this issue ? |
Preconditions (*)
1.Magento 2.4.2 with sample data (replicate on Magento 2.4.3)
2.PHP 7.4
3. Local enviroment.
Steps to reproduce (*)
1.Set United Kingdom to default country General->general->Country Options -> default country
2.Set shipping method free shipping for special countries United Kingdom
3.Add any product to cart.
4.Go to checkout page (Guest checkout,just open the checkout page, haven't filled in any fields)
Expected result (*)
2.Shipping method apprear free shipping method
Actual result (*)
2.Shipping method not apprear free shipping method
https://www.loom.com/share/3eb9cabfd8fe45d58f119d241d780c77
window.checkoutConfig.defaultCountryId was set by field https://i.imgur.com/JLs78qm.png https://i.imgur.com/T4Wim5p.png not General->general->Country Options -> default country
The text was updated successfully, but these errors were encountered: