Skip to content
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

Update country list in shipping address if shipping method overrides allowed countries #59

Open
schmengler opened this issue Jun 7, 2021 · 4 comments

Comments

@schmengler
Copy link
Collaborator

No description provided.

@rajeev-k-tomy
Copy link
Collaborator

@schmengler I cannot decipher this requirement now. Can you please elaborate it if you remember?

@schmengler
Copy link
Collaborator Author

You can specify different allowed countries for each shipping method. So if the user selects a different shipping method, the country list should be updated accordingly

@rajeev-k-tomy
Copy link
Collaborator

@schmengler I think when we set the shipping address or change the shipping address, the shipping method information will be unset from the quote and methods will be refreshed again according to the shipping address. So if a shipping method is not available in the shipping country opted, then that shipping method won't be shown in the frontend.

So I assume this is already covered in that way?

@schmengler
Copy link
Collaborator Author

No, we need it the other way around too.

when we set the shipping address or change the shipping address, [...] methods will be refreshed again according to the shipping address.

when we change the shipping method, the dropdown of available countries in the shipping address must be changed

Example: Shipping method A is selected and allows shipping only to Germany. I change it to shipping method B which also allows shipping to India. But I cannot change the shipping address because the country dropdown did not update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants