Try our conversational search powered by Generative AI!

EPiServer CMS Categories on a Commerce Product

Vote:
 

Hello,

Got an issue where we would like to use the CMS categories to tag products in Commerce. It seems there isn't a backing type in Commerce for the CategoryList property.

So I was just wondering if anyone have solved this issue before or are we the only ones?

#117144
Feb 12, 2015 11:34
Vote:
 

Hello Petter,

did you find a solution? Back in the days... :)

thanks,

bob

#176924
Mar 30, 2017 0:46
Vote:
 

You probably can't store the Categories, but now Catalog content properties support IList<T>, so you can just have a property which is type of IList<Guid> - for example, and store the Guids of Categories there. You will have to load back the Category from that but I'd imagine it's an easy task. 

#176933
Mar 30, 2017 10:41
Vote:
 

Can't remember exactly what we ended up doing but I think it was some kind of mapping. So I stored it as something else then mapped it back to categories when reading it. But as Quan says now you an use the IList atleast.

#176947
Mar 30, 2017 14:48
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.