> For the complete documentation index, see [llms.txt](https://docs.rh-webdesign.com/cms-bundle/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rh-webdesign.com/cms-bundle/en/sections-and-blocks/sections/save-sections-as-templates.md).

# Save Sections as Templates

You can save sections as a template for reuse to save yourself time

Building Shopping Experiences requires time and creativity. To avoid having to reconfigure settings from scratch every time, you can create **section templates** and import them into any Shopping Experience, adapting them for further use.

### Save Section

In the advanced section settings, you’ll find the option to save sections:

<figure><img src="https://118894700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhdsmo3ttoHQpDlitXnzA%2Fuploads%2FTdVpIqZ2DXvD1RhlV4e8%2FBildschirmfoto%202024-10-07%20um%2017.44.32.png?alt=media&amp;token=e4f15e94-6078-4e0c-a1dc-9f3221d49c59" alt=""><figcaption></figcaption></figure>

Afterward, a window will appear where you can enter the information for the section. Be sure **to name the sections clearly** so you can easily find them later.

<figure><img src="https://118894700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhdsmo3ttoHQpDlitXnzA%2Fuploads%2FztIFO5V2uOdv9fjkqKJL%2FBildschirmfoto%202024-10-07%20um%2017.47.05.png?alt=media&amp;token=f2e8c940-86d8-4a9f-9269-6c6b820d3b1f" alt=""><figcaption></figcaption></figure>

The following information is saved in the overview:

* **Section Name**\
  The title of the saved section
* **Section Description**\
  A clear description of what makes the section unique
* **Created at:**\
  The date of the save
* **Created by:**\
  The author who created this section

### Using Saved Sections

When adding **new sections in the Shopping Experience**, you have the option to select from your saved sections:

<figure><img src="https://118894700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhdsmo3ttoHQpDlitXnzA%2Fuploads%2Fi2vI8EPhQjYBjgPYKx9E%2FBildschirmfoto%202024-10-07%20um%2017.49.46.png?alt=media&amp;token=5520a808-27f4-4e31-8e3f-22021b4abbbf" alt=""><figcaption></figcaption></figure>

### Manage Saved Sections

You can access the overview of saved sections via the CMS Bundle dashboard. First, go to the dashboard under ***Content -> CMS Bundle*****:**

<figure><img src="https://118894700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhdsmo3ttoHQpDlitXnzA%2Fuploads%2F2afbPP5kHj26g16yeAQO%2FBildschirmfoto%202024-10-07%20um%2017.51.54.png?alt=media&amp;token=082d6991-dbee-451e-bbe6-5579fd3a33a5" alt=""><figcaption></figcaption></figure>

Then, by clicking on “Manage Saved Sections,” you’ll be taken to your saved sections:

<figure><img src="https://118894700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhdsmo3ttoHQpDlitXnzA%2Fuploads%2FrWKn2dpRHgQ7iN1yABJ5%2FBildschirmfoto%202024-10-07%20um%2017.52.43.png?alt=media&amp;token=2daf47aa-f59a-402a-abd5-422db25ec184" alt=""><figcaption></figcaption></figure>

### Edit Saved Sections

You can adjust saved sections afterwards: the name and description as well as the content of the section itself. All editing functions are available in the overview of saved sections via the context menu at the end of each row:

<figure><img src="https://118894700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhdsmo3ttoHQpDlitXnzA%2Fuploads%2Fgit-blob-0019629f9c6f0bc593809152b23fcc2e1e2a93d9%2Fsaved-sections-context-menu.webp?alt=media" alt=""><figcaption><p>The context menu of a saved section</p></figcaption></figure>

<table><thead><tr><th width="287">Function</th><th>Description</th></tr></thead><tbody><tr><td>Context menu (1)</td><td>The three dots (<strong>…</strong>) open the actions for the respective section.</td></tr><tr><td>Edit Title and Description (2)</td><td>Opens the <strong>Edit saved section</strong> window, where you change the name and description.</td></tr><tr><td>Edit content in designer (3)</td><td>Opens the section in the Shopping Experiences designer. There you change blocks, elements and section settings.</td></tr><tr><td>Delete</td><td>Removes the saved section after a confirmation prompt.</td></tr></tbody></table>

{% hint style="info" %}
Changes to a saved section only affect the template. Shopping Experiences into which you have already inserted the section remain unchanged, because every insertion creates an independent copy.
{% endhint %}

#### Change Title and Description

You have two ways to change the name and description: directly in the table or in a separate window.

**Directly in the table**

1. In the overview, double-click the name or the description of the section. Both fields of the row become editable.
2. Change the **Section - Name (1)** and/or the **Section - Description (2)**.
3. Click the check mark **(3)** to save the change. The **X** next to it discards it.

<figure><img src="https://118894700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhdsmo3ttoHQpDlitXnzA%2Fuploads%2Fgit-blob-ea7b15493a9a51ec96e9c1074aad4c2cd96e1b30%2Fsaved-sections-inline-edit.webp?alt=media" alt=""><figcaption><p>Editing name and description directly in the table</p></figcaption></figure>

**Via the edit window**

1. Open the context menu (**…**) of the section and select **Edit Title and Description**.
2. In the **Edit saved section** window, change the **Section - Name (1)** and the **Section - Description (2)**.
3. Click **Save (3)**. The overview shows the new details immediately.

<figure><img src="https://118894700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhdsmo3ttoHQpDlitXnzA%2Fuploads%2Fgit-blob-30f8ef10b5fa2b8eb66e37c8259f37e726be140c%2Fsaved-section-edit-modal.webp?alt=media" alt=""><figcaption><p>The “Edit saved section” window</p></figcaption></figure>

{% hint style="info" %}
The name is required: as long as the **Section - Name** field is empty, **Save** stays disabled. The description is optional.
{% endhint %}

#### Edit Content in the Designer

1. Open the context menu (**…**) of the section and select **Edit content in designer**.
2. The section opens in the Shopping Experiences designer. The notice **Edit saved section (1)** shows that you are editing the template and not a Shopping Experience.
3. Adjust the section as usual: add, move or remove blocks, configure elements, change section settings.
4. Click **Save (2)**. The message **The saved section has been updated.** confirms that the template has been updated.
5. Click the **X (3)** in the top left. You return to the overview of saved sections.

<figure><img src="https://118894700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhdsmo3ttoHQpDlitXnzA%2Fuploads%2Fgit-blob-cf50899a3428c2c60bf5194770e73df220f64c8c%2Fsaved-section-designer.webp?alt=media" alt=""><figcaption><p>The designer while editing a saved section</p></figcaption></figure>

In this mode the designer is reduced to the section: the page **Settings**, the **Layout assignment** and the **Preview** are hidden. For editing, the CMS Bundle creates a temporary page in the background. It appears neither in the layout overview of the Shopping Experiences nor in the layout selection, for example when assigning a layout to a category, and is removed automatically when you leave the designer.

{% hint style="warning" %}
**Save before leaving:** The **X** returns to the overview without asking. Unsaved changes are lost, and the template then remains unchanged.

**Exactly one section:** A template always consists of exactly one section. If you add more sections in the designer, only the first one is stored when saving. If you remove the section completely, the template remains unchanged. In both cases a message points this out.
{% endhint %}

{% hint style="info" %}
**Page type:** Since version 2.7.11, the CMS Bundle remembers the page type of the Shopping Experience from which you save a section (e.g. landing page, product page or blog layout). The designer later opens the section with this page type, so the same blocks and elements are available to you as when you created it, such as the blog elements. Sections saved with an older version open as a **Landing page**. Blocks and elements that are only enabled for other page types are then not offered for selection in the designer.
{% endhint %}
