Actions overview
| Action | Description |
|---|---|
TestModeOn | Activates test mode. |
TestModeOff | Deactivates test mode. |
TestModeChange | Switches the active test mode. |
Actions
TestModeOn
This action activates test mode. The user must provide the configured test mode password. Usage exampleCan be used on the test mode page (
testMode.htm), through which shop operators or testers can activate test mode with a password to see test-specific content.
Parameters
| Name | Description |
|---|---|
password | The password for activating test mode. |
debug | Activates extended debugging (value: “on”). |
| Error code | Description |
|---|---|
missingPassword | Parameter password is missing. |
invalidPassword | The specified password is incorrect. |
TestModeOff
This action deactivates test mode and the shop returns to normal live operation. Usage exampleCan be used on the test mode page or in the shop header to deactivate test mode directly in the shop. Related modules, variables & methods Example showing how test mode is deactivated via a button.
TestModeChange
This action switches the active test mode without completely deactivating it. This is useful when multiple test modes are configured. Usage exampleCan be used on the test mode page when different test scenarios or configurations are available in parallel and you want to switch between them. Parameters
| Name | Description |
|---|---|
debug | Activates or deactivates extended debugging (value: “on”). |
| Error code | Description |
|---|---|
invalidPassword | The specified password is incorrect. |
