Shop Settings - Shops

Version

5.5.0 or newer

Table of contents

Introduction

The shop settings are a central setting in Shopware. All basic functionalities come together here, because of that the shop setting is a very important setting.

Settings

The settings can be found in "Configuration > Basic settings > Shop settings > Shops". All your configured shops will be listed her and you can configure them on the right side after a click on the desired shop.

Subshop configuration:

Language shop configuration:

  • Shop type: If you're adding a new shop, you can choose here, wheather it should be a language shop just for translations or a subshop with dedicated domain. After choosing this option the options will change depending on which shop type you choosed. Notice: Language shops must have an associated main shop, subshops come as dedicated domains. Please note, that this option is disabled for the main shop.
  • Main Shop (Language shops only): This configuration maps your created language shop to an existing main shop or subshop.
  • Name: Here you can define the name of your shop, which is used mainly for internals, but will also be used as title-tag in the frontend, when your shop title is not set.
  • Title: This defines the title of your shop, which is used in the frontend as title-tag. If this entry is not set, Shopware will use the name as fallback and if this is also empty the name in the basic informations.
  • Position: This setting defines the position of the shop which will matter in the language dropdown in the frontend. Beside this, the position is mainly used in the backend.
  • Host (Subshops only): This setting is only available for the main shop and subshops. Enter your host url without http(s):// here.
    If the URL of your shop contains letters like ä,ö and ü, you have to enter it in punycode. For the URL dänemark.de you have to enter xn--dnemark-5wa.de.
    Virtual Url: You can use virtual urls for your language shops, e.g. myshop.com/en and myshop.com/de. This has the advantage that language variants are reachable by their own url.
  • Path (Subshops only): If shopware is located in a subfolder of your hosting, you have to enter this path here.
  • SSL support (Subshops only): This enables SSL in sensitive areas of your shop like the registration, account, cart and checkout. All other sites will deliverd by http://. Only activate this option, if you're still running a valid SSL certificate for your hosting. If you have questions according SSL, please contact your hoster.
  • Use always SSL (Subshops only): This option will only appear, when you activate SSL support. With this you activate the complete SSL encryption of your shop.

After setting this option, all urls will changed to https://, so search engines will index new pages! The shop will intercept non-reachability, but you should evaluate this step carefully or consider a SEO agency before doing this step, especially when your shop is still indexed!

  • SSL host (Subshops only): Please enter the SSL host here. If the SSL host is the same as the shops Url, just repeat the shops host here.
  • SSL path (Subshops only): If the SSL encryption should run over a seperate path you can define this path here.
  • Host aliases (Subshops only): If more urls are routing to your shop and you want to make the shop reachable on multiple domains, you can enter the aliases here. This is useful in cases of myshop.com and www.myshop.com. If you enter the values here, just enter them with a break as seperator.
    If the URL of your shop contains letters like ä,ö and ü, you have to enter it in punycode. For the URL dänemark.de you have to enter xn--dnemark-5wa.de.
  • Currency: This sets the default currency of your shop.
  • Localization: This defines the localization of your shop and is mainly important for the snippets in the frontend, but also may be important for plugins, to set the localization of the target country here. Note, that by default only snippets for german and english are contained. Other languages can be downloaded from the store.
  • Category: Choose the main category of your shop. Shopware sets this as root category and will display all subcategories of your choosen category as categories of the 1st level.
  • Template (Subshops only): Choose the theme, which you want to use in your shop. Note, that themes are only available for subshops, not for language shops. If you need to configure your theme, you can do this with the Theme Manager.
  • Document template (Subshops only): Choose your document template here, which you want to use.
  • Customer group: Choose the default customer group for this shop here.
  • Customer scope (Subshops only): By default, your customer can log in to every subshop. If you want to avoid this, activate the customer scope. After this your customer can only login to the shop, in which he is registered. Note that if you use this option, you should activate this setting in all shops.
  • Adopt translation (Language shops only): If you setup more language shops with the same language, you can adopt the  translations from the here choosed language shop, so you have to maintain only the snippets.
  • Active: Activate / deactivate your shop with this option.
  • If you only want to deactivate your shop for temporary maintenance purposes, use the maintenance mode.

  • Standard shop (Subshops only): This setting is not writable, it's only for showing the main shop, which came with the instalation of Shopware.
  • Select currencies (Subshops only): Choose your alternative currencies here which will be available in a dropdown in the frontend.
  • Select pages: Here you can set the shop pages for your shop. If no shop pages are set, Showpare uses gLeft, gBottom and gBottom2 as fallback. Further informations you can find at the shop page groups documentation.

What is a main-, sub-, or language shop?

Main Shop

The main shop is the shop, which is created in the chosen language (currently german and english) while installing Shopware. At the main shop, you can't change the shop type (1), additionally Default shop (2) is checked.

Subshop

By using a subshop you can create a shop, which is independent from the main shop. This shop can be accessed over a seoerate domain e.g. www.b.co.uk (1) and can have a different template as the main shop. For you customer, this shop is a complete independent one.

Language shop

With language shops you can create different language variants of your main shop or your subshop. These can be accessed over a language dropdown in the shops' frontend or by typing a virtual url like "www.a.co.uk/en", if configurated. However, language shops can never have a different domain or a different template than its' assigned shop.

Example configuration

  • Main shop is www.a.co.uk - it has a german and a dutch language shop assigned.
  • Subshop is www.b.co.uk - it has also a german and a dutch language shop assigned.

Summary

  • The Main shop is the shop Shopware is installed with and which has the "Default shop" flag checked.
  • Every subshop may differ in language, currency, customer group and template from the main shop.
  • Language and currency change is possible without a seperate URL.
  • You decide which items are assigned in which shop.
  • Categories and content can differ between all shops.
  • Your items are still maintained over one backend.

In Shopware it's impossible to delete the main shop, which shopware was installed with. Deleting this shop over the database will gain in massive problems, so never try to delete this shop!

Creating a Sub- / Language Shop

As a practical example, this article shows how to extend an English main shop two ways: first, with a German language shop and second, with an additional English subshop that uses an alternative domain.

Creating a language shop

In this example, you have an English main shop and want to target your German-speaking customers using a language shop. This makes it possible for the customer to easily switch between languages in the shop’s frontend. The first step is to create a German language shop by following Configuration > Basic settings > Shop settings > Shops:

Now create the German language shop with the following configurations:

  • Create new shop: First click “Add entry”, which activates the fields on the right side of the page.
  • Choose shop type: Choose "Language shop" as shop type. Note: this setting is not required/available for versions earlier than Shopware 5.2.
  • Name: Enter a name for your language shop, which will be used for internal purposes.
  • Title: Enter a title for your language shop, which will appear in the frontend.
  • Main shop: Select your English main shop, as this is used as the basis for the new German language shop.
  • Position: With this you can set the position of this shop in the language switcher, this configuration is optional.
  • Virtual URL: If you would like, you can enter a virtual URL.
  • Currency: Select the main currency that will be available in your language shop. In this case, “Euro” is recommended for our new German shop.
  • Localization: Here you have different localization options available. We could specify our localization for German-speaking area of Switzerland or Luxemburg, but in this case we will generalize our localization by selecting "German (Germany)".
  • Category: Choose the category previously created as the root category for your main shop. This is necessary because categories cannot be translated.
  • Customer group: Choose the default customer group for your shop.
  • Adopt translation: This is only interesting for when you create multiple language shops that use the same language, because this configuration adopts the product translations from the selected shop (so in this case, you would only have to take care of translating the snippets).
  • Active: If the shop should be live, activate this setting.

Now save your changes and clear the cache so for language switch can appear in the frontend. After that, you can open your language shop using the language switcher in the frontend:

If you created your language shop with a virtual URL, you can also open it directly using the assigned URL.

Creating a subshop

Here we describe the creation of a subshop – this subshop can be reached using a completely separate domain and can have an entirely different template. To create a subshop, follow: Configuration > Basic settings > Shop settings > Shops:

Create a subshop with the following settings:

  • Create new shop: First click “Add entry”, which activates the fields on the right side of the page.
  • Choose shop type: Choose "sub shop" as shop type. Note: this setting is not required/available for versions earlier than Shopware 5.2.
  • Name: Enter a name for your language shop, which will be used for internal purposes.
  • Title: Enter a title for your language shop, which will appear in the frontend.
  • Position: For subshops, this position setting is only for internal usage. Therefore, this setting is completely optional.
  • Host: Enter the URL without http(s):// of your shop. Note: this domain has to route to your server, otherwise Shopware will route the customer to the original domain’s server.
  • Virtual URL: If you would like, you can enter a virtual URL.
  • Path: Enter the path to the Shopware directory.
  • SSL support: Check this box if you want to use SSL and already have a valid certificate installed.
    If the URL of your shop contains letters like ä,ö and ü, you have to enter it in punycode. For the URL dänemark.de you have to enter xn--dnemark-5wa.de.
  • Always use SSL: If you use SSL, we recommend you use it everywhere.
  • Host aliases: If several domains are routing to your Shopware server and the shop should be accessible under these domains, enter the aliases here. For example: myshop.com and www.myshop.com.
    If the URL of your shop contains letters like ä,ö and ü, you have to enter it in punycode. For the URL dänemark.de you have to enter xn--dnemark-5wa.de.
  • Currency: Select the main currency that will be available in your language shop. In this case, “Euro” is recommended for our new German shop.
  • Localization: Here you have different localization options available. We could specify our localization for German-speaking area of Switzerland or Luxemburg, but in this case we will generalize our localization by selecting "German (Germany)".
  • Category: Choose the category previously created as the root category for your main shop. This is necessary because categories cannot be translated.
  • Customer group: Choose the default customer group for your shop.
  • Adopt translation: This is only interesting for when you create multiple language shops that use the same language, because this configuration adopts the product translations from the selected shop (so in this case, you would only have to take care of translating the snippets).
  • Active: If the shop should be live, activate this setting.
  • Standard shop: This field is read only, there is nothing to do.
  • Currencies: Define is any alternative currencies should be available in the shop.
  • Shop pages: Choose the shop pages which should be displayed in the shop.

If your domain already routes directly to your Shopware installation, you can call your newly created subshop.

Change the domain of a shop

If you want to change the domain of your shopware shop, there are a couple things to keep an eye on.
In the following we are explaining, which settings you need to do in your shop to change the domain.

Domaintransfer

If you used your shop beforehand as a development environment and want to use it as a live domain from now on, you have to change the following things.

Shop Settings

You have to change the host in your shop settings for each shop and subshop, changing domains.
It is important to not just change the host, but also the hostalias!

There should not be any blanks in your host or host alias and it should be written in small letters.

Shopware Account

You will also have to change the domain in your shopware account. Therefore you can go to https://account.shopware.com/#/shops/rename

Was this article helpful?