此自定义用于复古 Shopify 模板,不适用于“Online Store 2.0”模板。
您可以在模板中添加地图分区,以显示您的营业地点。Shopify 的许多免费模板都包含可以添加到主页的地图分区。
若要显示地图,您需要注册 Google 地图 API 密钥并将其包括在模板编辑器的地图分区设置中。
使用 Google API 在您的模板中添加地图分区即表示您同意 Google 地图平台服务条款。
2018 年 6 月 11 日,Google 地图平台针对 Google 地图 API 的整理和使用方式进行了诸多更改。使用这些 API 需要使用 Google 地图平台设置计费账户。您将继续获得每月信用额度,以在阈值范围内涵盖这些服务。
有关定价的详细信息,请参阅 Google 地图平台定价和计费文档。
您可以注册 Google 地图 API 密钥。
Shopify商户官网原文详情:
This customization is for vintage Shopify themes, and doesn't apply to Online Store 2.0 themes.
You can add a map section to your theme to show the location of your business. Many of the free themes from Shopify include a map section that you can add to your home page.
For the map to display, you will need to register a Google Maps API key and include it in the map section settings in the theme editor.
By using Google's API to add a map section to your theme, you are agreeing to the Google Maps Platform Terms of Service.
On June 11, 2018, the Google Maps Platform introduced a number of changes to how Google Maps APIs are organized and used. Using these APIs requires setting up a billing account with the Google Maps Platform. You are provided a monthly credit on an ongoing basis to cover services up to a threshold.
For more information about pricing, see the Google Maps Platform pricing and billing documentation.
You can register a Google Maps API key.
文章内容来源:Shopify商户官方网站