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 7.5, powered by Commerce Server and Commerce Server
11.1 called
ExternalSettings.
-
Select the template appropriate for the Commerce item type you wish to
extend.
-
In the tree view, expand the
sitecore/Templates/Commerce/Catalog
folder.
-
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 checkboxes are checked.
Note: Only unversioned and unshared fields can be serialized into the
Commerce Server ExternalSettings property.
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.