douyi2664 2013-06-19 22:00
浏览 49

目录 - 将产品分类

I am building a catalog of products and need to assign the exact categories to the item.

There are f.ex. 10 main categories with subcategories, stored in a MySQL database.

What should be a good way to allow user to go accross categories from the highest level to the lowest and select the right one? Especially if you can select more than one category for the product?

Example: I have a banana and need to save it into:

Categories
-- colors
--- yellow

and also to

Categories
-- Fruits
--- Exotic

Currently I have two selectboxes - one selexts fro mthe main categories and the second from the subcategories. But it is a bit complicated, non user friendly and also works just with JS enabled.

Is there a ncier way how to do that? The amount of subcategories is in hundreds.

Thanks in advance.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥50 如何用脚本实现输入法的热键设置
    • ¥20 我想使用一些网络协议或者部分协议也行,主要想实现类似于traceroute的一定步长内的路由拓扑功能
    • ¥30 深度学习,前后端连接
    • ¥15 孟德尔随机化结果不一致
    • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
    • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
    • ¥15 谁有desed数据集呀
    • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
    • ¥15 关于#hadoop#的问题
    • ¥15 (标签-Python|关键词-socket)