Exploring Shopware: Sitemap in Shopware 6 Settings

- E-Commerce, Shopware

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.

Get Improved Import, Export & Mass Actions for Shopware by Firebear Studio

Explore Shopware

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 service container with the help of the shopware.sitemap_url_provider tag.

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.

You can discover the example class in the official documentation here: Add custom sitemap entries in Shopware 6. Also, check how to create affiliate links in Shopware.

How to Import Sitemap to Shopware 6

While you cannot import a sitemap to Shopware 6, there are many more transferable entities to choose from. With the help of our team, you can simplify and automate their transfer to and from your e-commerce website. Contact our support for more details and try our Improved Import, Export & Mass Actions for Shopware. You can use it to import any entity to Shopware 6, including data that will be used in your sitemap. Our module provides the ability to automate data transfers on the basis of schedules. You just let the extension know when to initiate a data transfer and it will do all the work for you. Furthermore, there is one more important time-saver – mapping presets. You create a scheme that lets our tool match external data to the corresponding information within the system and vice versa. As a result, there is no need to do that manually with every data file. 

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 info@shopware.com or call +49 2555 9288 50. Try the following email – financial.services@shopware.com – 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.

Get Improved Import & Export for Shopware by Firebear Studio

Explore Shopware