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!
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 main / licence domain
If your domain already routes to your Shopware installation, you can call up your newly created sub shop directly.
Once your new sub shop has been created, you can add any language shops to it for translation, the workflow for this is the same as above.
If you want to run your shop under a new domain, there are some important things to consider.
Below are the instructions for a domain change. Please note that this article does not refer to a server move, but only describes the procedure for a change of shop domains.
Domain transfer
If you have previously operated your shop with a test domain and now want to continue to operate it under a different domain, but on the same server, the following points must be observed during the changeover.
Shop settings
Store the new urls of your shop in the shop settings. Check whether the new main domain under which the standard shop is to be accessible has been updated.
Make sure that there are no spaces in this field. Make sure that your licences run on www.myshop.co.uk or myshop.co.uk. If the wrong domain is entered here, successful licensing is not possible. Furthermore, all domains to be licensed must be entered in lower case.
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?