How to Edit Snippets in Your Shopware store

The Most Popular Extension Builder for Magento 2

With a big catalog of 224+ extensions for your online store

In Shopware, you can use snippets to translate and customize texts. This is very helpful setting that you should be familiar with.

Therefore, today’s article will give you detailed instructions on how to edit snippets in your Shopware store with some tips and tricks. Let’s get started!

Table of contents

Overview of Snippet Settings in Shopware

Overview of Snippet Settings in Shopware

Snippets in Shopware are organized into snippet sets. The sets BASE de_DE and BASE en_GB are included in the standard system. They feature both German and English translations. They utilize the basic files DE and messages.en GB. These base files contain the snippet sets standard values, which can be used to reset the snippets afterward.

You can modify the previously selected snippets set as well as the included text modules using the button Edit snippets.

You can also make a new snippet-set by using the Add snippet-set button. You can make this from a base file or as a duplicate of an existing set by clicking the arrow next to the button.

Besides, a snippet-set can be edited, duplicated, or deleted using the context menu.

How to Edit Snippets in your Shopware Store?

In this section, we’ll show you how to edit snippets in Shopware in 3 steps.

Step 1: Go to Settings > Shop > Snippets

First of all, from your Shopware 6 administration, you need to go to Settings > Shop > Snippets.

Step 1: Go to Settings > Shop > Snippets

Step 2: Edit snippets

On the screen, you can see all snippets that are stored in the database table snippets.

To edit a snippet, first, you need to choose the snippet you want to edit. You can do this in several ways.

In the first method, you can directly click on the name of the snippet.

Step 2: Edit snippets

In the second method, you can click on the context menu button and choose Edit.

Step 2: Edit snippets

The third method, if you want to edit multiple snippets, you can tick checkboxes that represent snippets and click on the button Edit snippets.

Step 2: Edit snippets

After that, you will be sent to a new screen where you can directly edit snippets.

Step 2: Edit snippets

The names of the snippets are listed in column Name. In each snippet-set, it has a translation.

You can modify the snippets for each variable using the context menu, or you can reset it to the default value from the base file.

The Refresh button is located on the right-hand side. This button compares the data to the database table snippets and updates the data if necessary.

You can also filter the displayed snippets using the Filter button.

Now, in the context menu of the snippet set you want to edit, select Edit.

Step 2: Edit snippets

After that, you will be sent to a new page that looks like this.

Step 2: Edit snippets

The variable’s name can be found here. You can update the content of all translations of this snippet under the item Translations. All that’s left to do now is change the snippet name and translations to your preference.

Step 3: Click “Save”

Once you’re done editing the snippets, remember to click Save to finish.


Tips and Tricks for Editing Snippets in Shopware

Links einbinden

If you want to use a link in a text module, you can use the HTML attribute a href:

<a href="URL">displayed text</a>

For example, you can use something like this:

<a href="">Call the Shopware homepage</a>

Final Words

That’s it for our today’s article. We hope that you find our instructions on how to edit snippets in Shopware useful and easy to follow. If you have any questions regarding this topic, please feel free to reach out to us in the comments section below. We woud love to help you out.

Thank you for reading and we’ll see you in the next post.

Increase sales,
not your workload

Simple, powerful tools to grow your business. Easy to use, quick to master and all at an affordable price.

Get Started
avada marketing automation

Explore Our Products:


Stay in the know

Get special offers on the latest news from Mageplaza.

Earn $10 in reward now!

Earn $10 in reward now!

go up