Today, we are going to talk about sitemaps in Shopware 6. Different e-commerce systems provide unique ways to manage this instrument. However, all of them leverage the mighty instrument. As a store manager, you can always customize it to make your store look more attractive for search bots and customers. What about Shopware, you willask? By default, it generates a standard sitemap, compresses it, and then caches it in the file system. Furthermore, your e-commerce website offers advanced support for shops with many products and categories when it comes to the sitemap. Shopware splits the corresponding file into several parts and lets you generate them in the background. Note that there is no way to create a visitor sitemap since the index file is generated for SEO purposes only. In the article below, we describe how to find Sitemap settings in Shopware 6. After that, you will discover several ways of managing your Shopware 6 sitemap. For more tech-savvy users, we provide a brief description of how to add custom sitemap entries in Shopware 6.
Note that we provide Shopware integration with external platforms. Contact our support for further information or try our Improved Import & Export Extension for Shopware.
Table of contents
- 1 How to find sitemap in the Shopware 6 Administration
- 2 How to add custom sitemap entries in Shopware 6
- 3 How to Import Sitemap to Shopware 6
- 4 Shopware 6 Sitemap FAQ
- 5 Shopware 6 Essentials FAQ
- 5.1 How to create a Shopware account?
- 5.2 What about a Shopware ID?
- 5.3 How to deal with Shopware master data and what is it?
- 5.4 How to add a new Shopware shop?
- 5.5 How to add a payment method to your Shopware account?
- 5.6 How to create a deposit in Shopware?
- 5.7 How to purchase Shopware extensions?
- 5.8 How to get support in Shopware?
- 5.9 How to automate import and export processes in Shopware 6?
- 5.10 How to migrate to Shopware 6?
- 5.11 How to integrate Shopware 6 with external systems?
How to find sitemap in the Shopware 6 Administration
Your Shopware 6 sitemap is available under Admin -> Settings -> Shop -> Sitemap. Here, you can define the refresh time for the sitemap as well as create a refresh strategy for updating the corresponding data. Currently, the following three methods are at your service:
- Scheduled. Choose this method if you want to generate the sitemap automatically with a scheduled task on a regular basis, storing it in the file system.
- Live. With this refresh strategy, the system generates a new sitemap when no sitemap is available. If there is one, Shopware 6 recreates a new sitemap when the time under Refresh time has elapsed.
- Manual. This method disables the automatic sitemap creation. You need to use the following command to generate a new sitemap:
php bin/console sitemap:generate
Note that you should run this command each time you add a new URL or remove an old one.
How to add custom sitemap entries in Shopware 6
As you can see, Shopware comes with a sitemap generation feature. It lets you add not only products and categories, but also additional URLs. Below, we shed light upon how to add custom entity SEO URLs to the sitemap. You will need:
- a custom entity,
- a controller with a technical route for displaying each entity,
- a custom SEO URL.
You can add custom URLs to the sitemap with the help of the URL provider. You can add it to the system by placing a new class, which extends from Shopware\Core\Content\Sitemap\Provider\AbstractUrlProvider.
Register it to the
Note that it is vital to provide the following three methods:
- getDecorated: It is enough to utilize an exception of the DecorationPatternException type for extending a class via decoration.
- getName: Specify a technical name of your custom URL.
- getUrls: Consider it the main method to take care of. Its purpose is to return an instance of Shopware\Core\Content\Sitemap\Struct\UrlResult. The latter contains an array of all URLs that have to be added to the Shopware 6 sitemap.
How to Import Sitemap to Shopware 6
Shopware 6 Sitemap FAQ
How to find sitemap settings in Shopware 6?
You can find the scale sitemap settings in your admin under Settings -> Shop -> Sitemap.
How to update a sitemap in Shopware 6 automatically?
You can update your Shopware 6 sitemap automatically under Settings -> Shop -> Sitemap. Here, choose a scheduled or live update method.
How to update a sitemap in Shopware 6 manually?
You can update your Shopware 6 sitemap automatically under Settings -> Shop -> Sitemap. Choose a manual update method and use this command: php bin/console sitemap:generate.
How to add custom URLs to the sitemap in Shopware 6?
You can add custom URLs to the sitemap with the help of the URL provider. Follow the instructions in this guide for further information.
Shopware 6 Essentials FAQ
How to create a Shopware account?
Visit the registration page to create a Shopware account. Click the Register Now link and fill in the form. After that, you will receive a confirmation email. Follow the instructions provided there.
What about a Shopware ID?
Your Shopware ID is provided during the registration automatically.
How to deal with Shopware master data and what is it?
Shopware 6 master data combines all the information about your company. Shopware 6 master data consists of physical addresses, phone numbers, emails, and other information added to the registration form and afterward.
How to add a new Shopware shop?
Your merchant area is a place where you can add a new Shopware 6 shop. Hit the corresponding link to activate the process and choose the type of your new shop. Shopware supports cloud storefronts or on-premise installations. After that, you need to provide all the information required by the system.
How to add a payment method to your Shopware account?
In Shopware 6, you need to add a payment method used for internal purposes only. You can do that under Basic Information -> Accounting. Specify PayPal, credit card, or direct debit as a way to create a deposit associated with your Shopware account.
How to create a deposit in Shopware?
You can create a deposit after an internal payment method is enabled. Visit your Merchant Area -> Shops and choose a shop to provide funds to. Select the Open Account Details option and transfer a deposit that covers the amount of your future purchase.
How to purchase Shopware extensions?
You can purchase extensions and themes for your Shopware 6 website on the Shopware Marketplace or in the Plugin Manager. In both cases, you need to create a deposit, choose a tool you want to buy, and complete the purchase. Note that the deposit should be equal or more than the amount of your future purchase.
How to get support in Shopware?
If you want to get help regarding account or license issues, write to email@example.com or call +49 2555 9288 50. Try the following email – firstname.lastname@example.org – if you have questions about accounting and financial services. You can also call +49 2555 9288 510 to discuss the same issues.
How to automate import and export processes in Shopware 6?
Always use a third-party tool to automate import and export processes that take place on your e-commerce website. For instance, pay attention to the Improved Import & Export extension since it is fully suitable for managing recurring data transfers. If you configure it properly, it requires no interaction on the admin side. For instance, it lets you create schedules to launch the corresponding import and export processes automatically.
How to migrate to Shopware 6?
The Improved Import & Export module is also suitable for the Shopware 6 migration. You can transfer your existing website from the old platform no matter it is another e-commerce systems or Shopware’s previous version. Since we also offer export solutions for systems like Magento and Shopify, you can leverage them to simplify your data transfers between them and your new Shopware-based storefront. Contact us for more information.
How to integrate Shopware 6 with external systems?
Another purpose of the Improved Import & Export extension is to help you synchronize your Shopware 6 website with ERPs, CRMs, accounting tools, and other similar platforms. The module incorporates schedules and mapping presets to run repetitive import and export processes. It modifies data according to the requirements of your Shopware store during import. It also follows the rules of the connected platform during export. If the extension is properly configured, no interaction on the admin side is necessary to integrate Shopware 6 with external systems.