帮助仅向购买加利福尼亚州的客户显示道具65警告 [英] Help with showing the prop 65 warning only to customers buying california

查看:60
本文介绍了帮助仅向购买加利福尼亚州的客户显示道具65警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在网上销售草药补充剂,刚刚得到公司的通知我从加利福尼亚州居民的购物车购买时得到它们必须在他们的某些产品上显示道具65警告。当加利福尼亚州的人购买它所属的草药补充剂时,我需要帮助弄清楚如何在购物车中显示道具65警告。我至少想通过这种方式,如果我可以在加利福尼亚州的一个人购买它的时候展示它,我就不必将它放在所有产品上。谢谢。



我尝试了什么:



我问大卡特尔我经销过我的产品他们根本不知道谷歌搜索它有一段时间没有运气。

I sell herbal supplements online and just got notified by the company I get them from that at the time of purchasing in the cart for California residents it must show the prop 65 warning on certain products of theirs. I need help figuring out how to show the prop 65 warning in the cart when a person from California is buying an herbal supplement it pertains to. I figured at least that way I would not have to go through and put it on all products if I could just show it when a person from California is buying them.Thanks.

What I have tried:

I asked big cartel that I go through to sell my products and they had no idea and google searched it for a while with no luck.

推荐答案

除非他们注册并给你包括国家代码在内的地址,否则你不能。台式机和笔记本电脑设备没有内置GPS,这意味着您可以尝试使用自动识别用户位置的唯一方法是IP地址。



那......好吧,请看这里:使用IP基于地理定位 - 以及为什么它几乎没用。 [ ^ ]
Unless they register and give you their address including the state code, you can't, pretty much. Desktop and laptop devices don't have built in GPS, and that means the only thing you can try to use to automatically identify a user's location is the IP address.

And that ... well, see here: Using IP based Geolocation - and why it's pretty much useless.[^]


这篇关于帮助仅向购买加利福尼亚州的客户显示道具65警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆