谷歌分类到drodown菜单HTML JS [英] Google taxonomy to drodown menus HTML JS
问题描述
我需要将Google的产品分类转换为一组下拉菜单。请参阅此处:https://support.google.com/merchants/answer/1705911
示例第一个下拉列表将包含[动物和宠物用品,服饰与配件,艺术与娱乐等]
如果您选择艺术与娱乐第二次下拉将有['/ BLANK /',活动门票,爱好和创意艺术等等]当您选择艺术与娱乐,爱好与创意艺术,工艺品,艺术与工艺套件,蜡烛制作套件。字段需要设置为505374.
还需要通过将ID放入文本字段来设置所有下拉字段的方法。
I need to convert Google's product taxonomy into a set of dropdown menus. See here: https://support.google.com/merchants/answer/1705911
Example The First drop down will have [Animals & Pet Supplies, Apparel & Accessories, Arts & Entertainment, etc.]
If you select Arts & Entertainment The second drop down will have ['/BLANK/', Event Tickets, Hobbies & Creative Arts, etc ] When you select Arts & Entertainment, Hobbies & Creative Arts, Arts & Crafts, Art & Craft Kits, Candle Making Kits. A field needs to be set of 505374.
There also needs to be a way to set all the dropdown fields by putting an ID into a text field.
推荐答案
您可以先自己尝试一些事情,当您遇到任何地方时,来自这里的任何人都会尽力帮助您。但不要直接询问源代码。
阅读代码项目快速解答常见问题解答 [ ^ ]首先:)
但是这里有一个提示 -
正如我从网址中看到的那样,您可以下载.xls文件并使用JavaScript读取它。 (参考此主题 [< a href =http://stackoverflow.com/questions/16630413/how-can-i-read-an-excel-file-with-javascript-without-activexobject\"target =_ blanktitle =New Window> ^ ])然后使用它。
-KR
You can try something on your own at first and when you stuck anywhere, anyone from here would do his/her best to help you out. But don't directly ask for the source code.
Read the Code Project Quick Answers FAQ[^] first :)
But here's a tip-
As I can see from the URL, you can download the .xls file and read it using JavaScript. (Refer this thread[^]) and then use it.
-KR
这篇关于谷歌分类到drodown菜单HTML JS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!