作者:绿林VS逍遥 | 来源:互联网 | 2023-08-28 17:59
Asthetitlesuggests,Iwanttocreatecategoryandsubcategorylistingofproductsforthewebst
As the title suggests, I want to create category and sub category listing of products for the web store I am working on. Say there is a category named Apparel{parent category} => Shoes, footwear.. etc {child category} and shoes will have all the shoe products. How do I implement this? ie Should I put all the main categories under one table. Each row would then reference another table?
正如标题所示,我想为我正在处理的网上商店创建产品的类别和子类别列表。假设有一个名为Apparel的类别{父类别} =>鞋类,鞋类等等{儿童类别}和鞋子将拥有所有的鞋类产品。我该如何实现?即我应该将所有主要类别放在一个表格下。然后每行会引用另一个表?
1 个解决方案