Skip to content

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

@bojanz

Description

@bojanz

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions