存储位置和映射设置

通过配置距离提供程序来搜索零售商店位置,为商店完成启用商店位置和映射功能。

要求

在配置过程中,您会为Google Maps平台提供一个Google API密钥。 如果您没有,请从Google地图平台生成一个。

要配置距离提供器,请执行以下操作:

  1. 从管理员的​ Stores > General ​配置中,为映射内容类型添加Google映射集成。

    • 转到​ Stores > Configuration > General > Content Management

    • 将您的Google API密钥添加到​ Google Maps API Key ​字段。

  2. 从“管理员”的​ Stores > Inventory ​配置中,为“商店履行”选择距离提供程序。

    • 转到​ Stores > Configuration > Catalog > Inventory

    • 展开​ Distance Provider for Distance Based SSA ​部分。

    • 将​ 提供程序 ​设置为​ Google映射

  3. 配置​ Google Distance Provider ​的设置。

    • 添加您的​ Google API密钥

    • 将​ Computation Mode ​设置为Driving并将​ Value ​设置为Distance

recommendation-more-help
dd168ac6-a357-4bc5-ae6f-a7e463fa4dfb