WooCommerce 4.1+地理位置Geo_IP和Maxmind GeoLite2?

问题描述 投票:0回答:1

我在Woocommerce设置中注意到我将 "默认客户位置 "设置为 "默认无位置"。他们提到有一个Maxmind GeoLite数据库,我可以使用。然而我已经在使用这个类。

new WC_Geolocation();

而且还能用 谁能给我解释一下这是如何工作的?

上面的类是免费的,我不需要为它付费,对吗?

如果Maxmind是不同的服务,为什么别人要用它?为什么不使用免费的内置类而使用呢?

class woocommerce geolocation settings maxmind
1个回答
1
投票

淘宝网 是免费的.

由于WooCommerce 4.1的事情正在发生变化,你现在必须 注册Maxmind GeoLite2。. 它将允许你生成GeoLite2许可证密钥,你将在woocommerce > Settings > Integration中设置。

enter image description here

一切都在这个官方文档中解释。MaxMind地理定位集成

© www.soinside.com 2019 - 2024. All rights reserved.