Skip to content

Description Templates

Management of Description Templates for automatic generation of HTML product descriptions. Templates define the structure and sections of a product description that can then be applied per item.

Opening the Page

  • Via search: Shopware 6 Description Templates
  • Via the Item Card → Navigate → Description Templates

Template List

Fields

Field Description
Code Unique template code (e.g. STANDARD, PREMIUM).
Description Short description of the template (e.g. "Standard template with attribute table").
Table Style Visual style of the property table: Simple, Bordered, or Striped.
Attribute Sort Sort order of attributes: Alphabetical or By ID.

Actions

Action Description
Edit Template Opens the template card to edit sections.
Delete Template Deletes the template after confirmation.

Template Card

The template card contains the basic settings and a sections list as subpage.

Basic Settings

Field Description
Code Unique template code.
Description Short description.
Table Style Style of the generated property table.
Attribute Sort Sorting of attributes in the table.

Sections

Sections define the structure of the generated description. Each section has a Section Type:

Section Type Description
Heading Inserts an HTML heading (H2, H3, or H4).
Marketing Text Inserts the BC marketing text of the item (generated via Copilot or manually maintained).
Technical Data Inserts an HTML table with all assigned item attributes. The table style is inherited from the template.
Custom HTML Inserts arbitrary HTML code (e.g. banners, notices, videos).
Separator Inserts a horizontal rule (<hr>).

Section Fields

Field Visible for Description
Section Type Always Type of section.
Heading Text Heading Text of the heading.
Heading Level Heading HTML level: H2, H3, or H4.
Custom HTML Custom HTML Freely editable HTML content.

Applying a Template

  1. Open the Item Card of the desired item.
  2. Click the Apply Description Template action.
  3. Select the desired template from the list.
  4. The item description is automatically generated from the template sections:
  5. Headings are inserted as HTML tags.
  6. The BC marketing text is embedded.
  7. Item attributes are rendered as a formatted HTML table.
  8. Custom HTML is inserted directly.

Example

A template with the following sections:

  1. Heading (H2): "Product Description"
  2. Marketing Text
  3. Separator
  4. Heading (H3): "Technical Specifications"
  5. Technical Data

Generates a description like:

<h2>Product Description</h2>
<p>Marketing text from Business Central...</p>
<hr>
<h3>Technical Specifications</h3>
<table class="striped">
  <tr><td>Weight</td><td>2.5 kg</td></tr>
  <tr><td>Color</td><td>Black</td></tr>
</table>

Tip

Create different templates for different product categories (e.g. "Electronics" with many technical specifications, "Textiles" with focus on marketing text).