Updated on: February 24, 2022
Have you made adjustments to your Shopware 6 shop, installed a new app and your changes are not visible? Or the representation of a certain area in your shop doesn't look quite right? In this case you may need to compile your theme.
There are different approaches to compiling the theme of your Shopware 6 shop. This can be done via a command via the server console as well as via the Shopware 6 shop administration.
To compile the theme in your Shopware 6 shop, first log into the administration of your shop. Click on the desired sales channel on the left side menu of the administration and then call up the tab . Now click on the button , select the desired theme (possibly the same one, which was already set) and save your selection by clicking on the blue button and confirm the action by clicking on the blue button "change theme". The theme should now be compiled. Depending on the cache setting, you might also have to clear the cache (both the shop cache and, if applicable, your browser cache).
In addition to the aforementioned method for compiling the theme via the administration, the compiling can also be done via the console on your server. The corresponding CLI command is: .