> ## Documentation Index
> Fetch the complete documentation index at: https://dokumentation.websale.de/llms.txt
> Use this file to discover all available pages before exploring further.

# Shop modes

> Understand WEBSALE shop modes: control whether a subshop is publicly accessible and switch operational status through the admin interface.

Each subshop has an operational status that controls whether it is publicly accessible. Administrators can change the mode via the admin interface. The change takes immediate effect for all visitors.

***

## Available modes

A subshop is always in one of the following modes.

| Mode      | Access                                                                                                                                                                    | Typical use                                                                  |
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| Active    | Anyone.                                                                                                                                                                   | Normal live operation.                                                       |
| Test mode | Only visitors who authenticate via the [test mode login](https://dokumentation.websale.de/konfiguration/general-allgemeine-shopeinstellungen#general-testmode-testmodus). | Testing and acceptance before going live.<br />Test products become visible. |
| Inactive  | No one — every request is redirected to a short "Shop not available" page.                                                                                                | Shop not yet started or shut down.                                           |

***

## Changing the mode (Admin Interface)

Path: *Admin → Configuration → Subshops*

In the subshop table there is a column called "Status" that displays the current mode of each subshop. Each row has a context menu whose entries are based on the current status — only the transitions that make sense from the current state are displayed:

* **Go live** - switch to Active mode.
* **Set to test mode** - switch to test mode.
* **Deactivate** - switch to Inactive mode.

<Frame>
  <img src="https://mintcdn.com/websaleag-44ee7ea6/CpGDQ6GUUeyrManD/images/websale_doku_set_testmode.png?fit=max&auto=format&n=CpGDQ6GUUeyrManD&q=85&s=c58c4ed247116470c47d2ff91ad2afbc" alt="Websale Doku Set Testmode" width="2471" height="748" data-path="images/websale_doku_set_testmode.png" />
</Frame>

### Going live

Before every change, the **Go live** option performs a readiness check. All active online payment methods are checked, and every one that is still in sandbox mode is reported.

<Badge color="green" icon="check">All checks were passed</Badge> - The shop is set to **Active** and a success message appears. The table is reloaded and the row shows the new status.

<Badge color="red" icon="ban">A blocker was found</Badge> - No change is applied. An error message ("Go-live blocked") lists each blocking service and the reason (e.g., PayPal: sandbox). Resolve the blocker and try again.

### Switching to test or inactive mode

When you select test mode or the **Deactivate** option, the change is applied directly without a readiness check being performed.<br /><br />The following happens after the change (depending on the selected mode):

* **Test mode**<br />The public shop is locked behind the test mode login. Only authenticated visitors see the shop. Products marked as "test" become visible. This is suitable for go-live validation with payment providers in a safe state. Orders placed in test mode automatically receive the verification status `test`.
* **Inactive**<br />Every visitor sees the short "Shop is currently inactive" page, regardless of the URL they called. For details about the template, see [here](#inaktiv-seite).

***

## Readiness check via API

The readiness check can also be triggered programmatically. The same checks are performed as for the "Go live" button, but the status is not changed.

Details about the endpoint method and the subsequent setting of the status can be found in the [API reference](https://dokumentation.websale.de/schnittstellen/admin-interface-api/api-referenz-shop-modi).

***

## Inactive page

If a subshop is in inactive mode, every incoming request is redirected to a standalone "Shop not available" page — regardless of which URL the visitor called.

The inactive page is rendered from the template `myshop/template/views/inactive.htm`. Here `myshop` serves as a placeholder for the actual shop name.

### Customization

If you would like to customize the inactive page for a specific shop (e.g., branding, localization, contact information), override this template in the shop-specific [template directory](https://dokumentation.websale.de/frontend/die-basics).

### Multilingual support

An English variant does not currently exist. If needed, create it under the path `templates-english/views/inactive.htm`.

***

### Good to know

* The status is a per-subshop setting (more on this [here](https://dokumentation.websale.de/konfiguration/general-allgemeine-shopeinstellungen#general-general-allgemeine-basiseinstellungen)).
* Status changes are reversible at any time via the same context menu.
* The readiness check is only executed when switching to the "**Active**" state. A switch to test mode or inactive mode is always allowed.
* The status can also be set directly in the [configuration](https://dokumentation.websale.de/konfiguration/general-allgemeine-shopeinstellungen#general-general-allgemeine-basiseinstellungen) to `"status": "active"`. In this case, the readiness check is skipped, so the mentioned checks do not take place.

***

## Related topics

* [general.general](https://dokumentation.websale.de/konfiguration/general-allgemeine-shopeinstellungen#general-general-allgemeine-basiseinstellungen) - General base settings
* [general.testMode](https://dokumentation.websale.de/konfiguration/general-allgemeine-shopeinstellungen#general-testmode-testmodus) - Test mode
* [\$wsTestMode](https://dokumentation.websale.de/frontend/referenz/module/wstestmode) - Test mode module
* [API reference Shop modes](https://dokumentation.websale.de/schnittstellen/admin-interface-api/api-referenz-shop-modi)
