Create template-specific property values

  • Updated

Optimizely Product Information Management (PIM) includes template-specific property values. For properties that use a list of values, this lets users select which values are valid for a particular template. This simplifies creating and managing properties while providing flexible data governance with product templates.

Create properties

When defining properties with a list of values, consider which ones are shared by multiple types of products. Product templates for nails and kitchen cabinets may share properties for brand, finish, and material with different values needed for governance. They will have other properties like length, height, width, depth, and style that are likely to be shared by other product templates but have specific values for template-level governance.

Nails may have properties like head type and shank type that are specific to nails and not used by other product templates. Likewise, kitchen cabinets may have properties like Number of Shelves and Number of Doors with the same values for all templates with the property.

When PIM is integrated with Optimizely Customized Commerce, PIM lets you add only properties that you can map to an attribute in the assigned Customized Commerce product class. If you cannot add a property, you can select a different product class or have developers add that property to the product class in Customized Commerce.

After deciding which properties require template-specific values, you can use the property import spreadsheet to import the properties. You will include the superset of values for the shared properties and set them to use template-specific values. You can leave this column blank for properties that do not require template-specific values.

 

After the properties are imported, the Values tab enables template-specific values and lists the values for all products.

templatespecificvalues.png

Configure templates

After creating the properties, you can create a template manually or from an import.

To import templates, download the template with sample data. For each template, define the following:

  • folder
  • name
  • whether products using the template require an image
  • whether to include the properties from the starter template
  • all properties on the template

When defining the properties, enter the property name (not display name) and its requirement level. For properties using template-specific values, you can define which values this template uses in the import, or you can import them without the values defined and configure values after the templates are created.

The nails template example adds the brand, length, finish, material, collated, head type, and shank type properties. The brand, length, finish, and material properties have a valid list of values specific to nails. Head type and shank type will not use template-specific values.
xxx-1.pngxxx-2.png
After the templates are imported, open the template and ensure the values you defined in the import are selected for any properties that use template-specific values. If you did not define the list of values when importing the templates, you can click Edit Values and select the appropriate values.

nailstemplate.png

Enforce template-specific values

After creating the templates, you can assign products and view that only the values selected for properties with template-specific values enabled are valid. When importing data for products, only the values selected for the property’s template are valid. When editing the product within the application, you will only see the options selected for the template.

finishnailproduct.png