Error pages
๐ Redis Keyโ
tenant_slug:error_pages:error_code
๐ Descriptionโ
This section allows configuration of error pages presented by the system. If the /mo/v200/init call fails, the frontend will redirect to the /error/error_code page, where error_code is taken from the corresponding field in the /mo/v200/init response.
The same code is used to build the Redis key where configurations are stored.
๐งพ Fieldsโ
| # | Field | Description |
|---|---|---|
| 1 | labels | Language-specific labels. Labels will be rendered in order; titles appear larger. |
| 2 | labels.lang.breadcrumb | Text to show in the breadcrumb (optional). |
| 3 | images.logo | Logo to display above the label (optional). |
| 4 | colors | Colors to use for labels. Use the same slug. |
๐พ JSON Exampleโ
{
"labels": {
"it": {
"title1": "La modalitร di ritiro scelta non รจ al momento disponibile.",
"title2": "Torna indietro e scegli una modalitร differente.",
"breadcrumb": "Home/Ordina e ritira/Modalitร non disponibile"
},
"en": {
"title1": "The selected pick-up mode is currently unavailable.",
"title2": "Go back and choose a different mode.",
"breadcrumb": "Home/Order and pick up/Mode not available"
}
},
"images": {
"logo": "https://site/images/img.png"
},
"colors": {
"title1": "#191a1a",
"title2": "#191a1a"
}
}