It's a little sad that this great thing does not have any documentation on how to implement it on a custom part through code :) could someone please provide me with a good link to do so?
This is what I have found so far:
ContentDefinitionManager.AlterPartDefinition("ProductPart", builder =>
builder.WithField("Materials", fld => fld.OfType("TaxonomyField")
How do I make sure the taxonomy "Materials" exists?
should I define a property in my Product Part?
When I should have to define a property in my product part, what type does it need since it's multiple choice? (and what would it be when having single choice?)
Should I define a property in my Record? and what type?