我的产品类别具有(元)数据 - 使用分类法还是将其实施为内容项?
我想使用 Drupal/CCK/Views 组合来创建产品目录,但我很困惑是否需要使用分类法。
我的产品可以有一个分类法,但分类法中的每个术语都有自己的信息。例如,产品类别可能包括图片、文本和链接。
据我所知,如果我尝试将我的类别实现为分类法,我无法将此数据添加到每个术语中。因此,我认为我必须为每个类别创建一个内容项,该内容项具有额外的数据作为属性,并将其产品(或子类别)作为节点引用。
Category_1 <-----------------(there is text and images that describe it)
|-- Category_1.1 -//-
| |-- Category_1.1.1 -//-
| | |-- Product_A
| | |-- Product_B
| | |-- Product_C
Category_2
.....
这是最好的方法吗?
I'd like to use the combo Drupal/CCK/Views to create a products catalog and I'm confused as to if I need to use taxonomies or not.
My products could have a taxonomy, but each term in the taxonomy has information by itself. For example a product category might include pictures, text and links.
As far as I can see, if I try to implement my categories as a taxonomy I can't add this data to each term. Therefore I think I have to create a content item for every category, that has the extra data as attributes and has its products (or subcategories) as node references.
Category_1 <-----------------(there is text and images that describe it)
|-- Category_1.1 -//-
| |-- Category_1.1.1 -//-
| | |-- Product_A
| | |-- Product_B
| | |-- Product_C
Category_2
.....
Is this the best approach?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用节点,而不是分类法,并通过节点引用链接
Use nodes for it, not a taxonomy, and link via nodereference