简体   繁体   English

是否可以在 shopify 中使用 javascript 获取默认商店国家/地区名称?

[英]Is this possible to get default store country name using javascript in shopify?

I want to get default store country name using javascript code.我想使用 javascript 代码获取默认商店国家/地区名称。 i have setup 5 store in my shopify theme,i want to get default store name using javascript, is this possible???我在我的 shopify 主题中设置了 5 个商店,我想使用 javascript 获取默认商店名称,这可能吗???

Use the Shopify global JS variable Shopify.country .使用Shopify全局 JS 变量Shopify.country

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 javascript-是否可以获取我们在SYSTEM的时区中选择的国家/地区名称。 我们可以得到偏移量(例如5.5),但是如何获取国家/地区名称 - javascript - is it possible to get country name we selected in SYSTEM's timezone . we can get offset (like 5.5)but how to get country name 如何使用国家代码或国家名称获取国家拨号代码? - How to get country dialling code using country code or country name? 能否在Github中获得开发商的国家/地区名称? - Is it possible to get country name of the developers in Github? 如何从 javascript 中的国家代码获取国家名称 - How to get country name from country code in javascript JavaScript:从经度和纬度获取国家名称 - JavaScript: get country name from longitude and latitude 是否可以使用javascript获取网站名称? - Is it possible to get the name of a site using javascript? Shopify Facebook商店JavaScript - Shopify Facebook store javascript 如何在react js中使用IP获取国家代码和国家名称 - How to get country code and Country name using IP in react js 如何使用地理编码获取国家/地区名称? - How to get country name using geocode? 无法使用asp.net在服务器端获取javascript返回的国家/地区名称 - Unable to get country name returned by javascript on server side using asp.net
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM