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

Document how to pre-select a country when using Smart IP / GeoIP #315

Open
bojanz opened this issue May 30, 2019 · 0 comments
Open

Document how to pre-select a country when using Smart IP / GeoIP #315

bojanz opened this issue May 30, 2019 · 0 comments

Comments

@bojanz
Copy link
Contributor

bojanz commented May 30, 2019

Sourced from drupal.org: https://www.drupal.org/project/address/issues/3043028

We could cover this in both Commerce and Address docs. The Commerce docs would demonstrate the code inside a country resolver, while Address could use hook_entity_create() to create an empty address with the known data (country + whatever else the service provides)

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

1 participant