Try our conversational search powered by Generative AI!

Property type with taxonomy

Vote:
 

Need a property for commerce entries (products) that can leverage a taxonomy (similar to categories). Below is an example.

  • Brand A
    • Sub-Brand A
  • Brand B
    • Sub-Brand B
#215847
Jan 15, 2020 15:00
Vote:
 

Why do you need a built-in property for that?

We regularly creates our own BrandContent, by inheriting from NodeContent, and use them as categories.

Optionally: If you want to you can add your own ContentReference property to your product content type with BrandContent as AllowedTypes, that way you can make sure there is only one brand and doesn't have to go through its parents.

You can read more on creating your own content types and see samples here:
https://world.episerver.com/documentation/developer-guides/commerce/catalogs/catalog-content/

#215921
Jan 17, 2020 15:03
This thread is locked and should be used for reference only.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.