Commerce > Administration > Catalog system administration > Catalog meta classes and fields

Catalog meta-classes and meta-fields

This topic is intended for administrators and developers with administration access rights in Episerver.

You can extend the metadata of catalogCommerce: a top-level container for catalog entries such as categories, products, and variants (SKUs). items and order forms. For example, if you create a meta-class called Wine, add meta fields that are characteristic for wine, such as color, taste, vintage, and maturity.

You also can define single and multiple dictionary types of value selectors with options. This results in a drop-down selector where editors can select values for product properties, such as fabric types for clothing, or genre for media.

After you create meta-classes and meta-fields in Commerce Manager, others can use them when they work with catalog entries in the product catalog.

Creating a catalog meta class

  1. Go to Administration > Catalog System > Meta Classes. The Meta Classes page appears.
  2. Select Create New > New Meta Class and fill in the fields.
    • Name. Enter the name of the meta-class used in your code, this cannot have any spaces.
    • Friendly Name. Enter the name of the meta-class displayed for practical use in Catalog Management.
    • Description. Enter a description of the meta-class.
    • Object Type. Select Catalog Node or Catalog Entry.
  3. Click OK to save changes. The newly created meta-class appears in the Type drop-down menu.

If you select the meta-class, you see available meta-fields listed but with none selected.

Creating a catalog meta field

  1. Go to Administration > Catalog System > Meta Fields. The Meta Fields page appears.
  2. Click New Meta Field. The Meta Field edit page appears.
  3. Enter Meta Fields details.
    • Name. Enter a system name without spaces or special characters (such as NumberMegapixels).
    • Friendly Name. Enter a user-friendly name seen by end-users on the back and front-end (such as Number of Megapixels).
    • Description. Enter information about the meta field.
    • Type. The drop-down menu shows the following field types.
      • datetime
      • decimal
      • float
      • money
      • Integer
      • Boolean
      • Date
      • Email
      • URL
      • Short String
      • Long String
      • Long Html String
      • String Dictionary
      • File
      • Image File
      • Dictionary (single and multiple line dictionary type option selector)
      • Supports Multiple Languages. Select if the meta-field can appear in two or more languages.
      • Use in comparing. Select to be able to compare items (only works if you have compare functionality on the front-end site).
      • Allow Null Values. Allows a null value for this field.
    • Search Properties. Depending on the data field type selected, you may have the option to set the search properties of the data field. The options are:
  4. Click OK to save your changes. The newly added meta fields appear in the meta fields list.

If newly created meta fields are not immediately visible, go to the next page or set the Page Size to display more entries.

Applying meta fields to a meta class

  1. Go to Administration > Catalog System > Meta Classes. The Meta Classes page appears.
  2. Select Element > Catalog Entry.
  3. Select the desired meta class from the Type drop-down. The Name, Friendly Name, and Description fields are populated with default values.
  4. Apply a meta field to a meta class by selecting the check box next to the meta field. If you want to sort the order of the meta fields in the catalog entry, enter a number into the Sort field.
  5. Click OK to save your changes.
back to top

Episerver User Guide update 15-5 | Released: 2015-11-16 | Copyright © Episerver AB | Send feedback to us