You are here: Sample Site > Display Templates

Display Templates

To be able to display different products on the e-commerce site you need to define the display templates to be used. These can be different for different language groups on the site. On the EPiServer Commerce sample site, the display templates will automatically be imported and configured during the installation procedure. However, when new templates have been created you may want to define their use in the system, or modify the use of existing ones. This is done in Commerce Manager in the Catalog Management sub-system under Templates.

Adding a display template

  1. Under Catalog Management, select Templates and click New.
  2. In the Name field, enter the name of the display template, for instance "WineTemplate".
  3. In the Friendly Name field, enter the display name for the template, for instance "Wine Template".
  4. In the Type field, enter the type of display template, for instance "entry".
  5. In the Path field, add the path to the display template, for instance:
    ~/Templates/WineStore/DisplayTemplates/WineDetailTemplate.ascx.
  6. Click OK to save your changes.

Updating an existing display template

  1. Under Catalog Management, select Templates and the language version and template that you want to update.
  2. In the Name field, enter the name of the display template.
  3. In the Friendly Name field, enter the display name of the display template.
  4. In the Type field, enter the type of display template.
  5. In the Path field, add the path to the display template.
  6. Click OK to save your changes.

 

 


Version: EPiServer Commerce 1 R2 SP2| Last updated: 2012-09-20 | Copyright © EPiServer AB | Send feedback to us