# Refreshing the storefront

In order to avoid or solve problems, you should refresh the storefront after each change to the storefront or a theme update.

There are two ways to update the storefront:

1. [Refreshing the storefront](#refreshing-the-storefront)
2. [Refreshing the storefront after updates](#refreshing-the-storefront-after-updates)

{% hint style="success" %}
**Tip:** In order to avoid or solve problems, you should refresh the storefront after each change to the storefront or after a Shopware/ThemeWare® update.
{% endhint %}

***

## Refreshing the storefront

In regular usage, you can refresh the storefront in 3 simple steps:

1. Open the administration of your shop
2. **Compiling the theme:**
   1. Switch to the **"Theme Management"** via the main navigation ("Content" => "Themes")
      * **Note**: In the Shopware Cloud, you will find the section "Themes" directly in the main navigation.
   2. Open the **theme configuration** of your ThemeWare® theme
   3. **Save the configuration** once unchanged
   4. *The Theme is now being compiled.*
3. **Clearing the Shopware cache:**
   1. Navigate via the main navigation to the section **"Cache & Indexes"** ("Settings" => "System")
   2. Click **"Clear caches "**
   3. *The Shopware cache is now being cleared.*
4. **Reloading the website and the browser cache:**
   * After that, reload the page on which the problem occurred in your web browser with a **cache refresh**:
     * Windows: **Ctrl + F5**
     * Mac: **Command (⌘) + Shift (⇧) + R** or **Command (⌘) + Option/Alt (⌥) + R**

The storefront has been refreshed now.

***

## Refreshing the storefront after updates

After updates, we recommend that you assign the default theme and then reassign your ThemeWare® theme:

1. Open the administration of your shop
2. **Assign the Shopware default theme:**
   1. Navigate via the main navigation to your **sales channel** ("Sales Channels" => *Your Sales Channel* => Tab "Theme")
   2. Please assign the **Shopware default theme** to the appropriate sales channel\
      ![](https://1979975522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F178YilsPBIFHBAxTvcMo%2Fuploads%2FuL3I3Vsn3OjSLAf62fS9%2Fshopware-default-theme-100px.png?alt=media\&token=0969aa16-abea-4ab6-8f6a-60feac5b05d1)
   3. **Save the change** in the sales channel.
3. **Reassign ThemeWare®:**
   1. Now reassign your **ThemeWare® theme** to the appropriate sales channel.
   2. **Save the change** in the sales channel.
   3. *The theme will now be compiled and the theme assets transferred to the storefront.*
4. **Clearing the Shopware cache:**
   1. Navigate via the main navigation to the section **"Cache & Indexes"** ("Settings" => "System")
   2. Click **"Clear caches "**
   3. *The Shopware cache is now being cleared.*
5. **Reloading the website and the browser cache:**
   * After that, reload the page on which the problem occurred in your web browser with a **cache refresh**:
     * Windows: **Ctrl + F5**
     * Mac: **Command (⌘) + Shift (⇧) + R** or **Command (⌘) + Option/Alt (⌥) + R**

The storefront has been refreshed now.
