Add Fields to a Catalog Item Type
Dynamic properties allow you to extend the generated catalog item templates like you would any other Sitecore item template. When you edit this new property on a Catalog, Category, or Product, that property is serialized into new field in Sitecore Commerce 8.2 powered by Commerce Server and Commerce Server 11.4 called ExternalSettings.
At the Content Editor:
-
Select the template appropriate for the Commerce item type you wish to extend.
-
In the tree view, expand the
sitecore/Templates/Commerce/Catalogfolder. -
Select a template.
Content Item
Template
Catalogs
Commerce Catalog
Virtual Catalogs
Commerce Virtual Catalog
Categories
Commerce Category
Products
Commerce Product
Variants
Commerce Product Variant
-
-
Edit the template by adding new fields.
-
Select the Builder tab in the Content Editor.
You can create a new section to hold the new field(s), if you wish.
-
Enter a name for the new field.
-
Select a Type.
-
Select a Source, if required.
-
Ensure the Unversioned and Shared check boxes are selected.
NoteOnly unversioned and unshared fields can be serialized into the
Commerce Server ExternalSettingsproperty. Even if the field is not marked as Shared, it will be treated as Shared by the Commerce Catalog data providers.
-
-
Save the template.
The new fields will be visible on all Catalog items of the specific type extended.