how can I create category of Product?

Topics: Customizing Orchard
May 29, 2013 at 7:58 AM
hi, is anyone give me some suggestion when I want to module a FixedAsset Module,
the FixedAsset Module have a the best way to code the Category is to create a new
CategoryRecord or just use orchard Taxonomy? if is the later ,How can I use the orchard Taxonomy in my module? is there any example?
thank a lot!
May 29, 2013 at 9:49 AM
I'd go with attaching a TaxonomyField to your content part. If you want to create a taxonomy and its terms programmatically, look at how Orchard.Taxonomies is doing that.