tenbruggencate / maintenance
Shopware 6 maintenance page: branded, SEO-correct (HTTP 503 + Retry-After + noindex), admin-editable per sales channel.
Package info
bitbucket.org/Bruggencate/sw-plugin-maintenance
Type:shopware-platform-plugin
pkg:composer/tenbruggencate/maintenance
Requires
- php: >=8.1
- shopware/core: ~6.7
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.94
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^11.0
- shopware/storefront: ~6.7
- dev-main
- 1.8.1
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.1
- 1.5.0
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.0
- dev-docs/cross-promotion
- dev-docs/readme-branding
- dev-chore/refresh-screenshots-v1.8.1
- dev-chore/audit-fixes-v1.8.0
- dev-chore/audit-fixes-v1.7.0
- dev-chore/admin-ux-polish-v1.6.0
- dev-chore/docs-screenshots-v1.5.1
- dev-chore/ux-polish-v1.5.0
- dev-chore/packagist-description-normalise
- dev-fix/scss-autoload-and-doc-refresh
- dev-feat/configurable-retry-after
- dev-feat/http-503-retry-after
- dev-release/v1.2.0
- dev-chore/gitignore-claude-skills
- dev-ci/junit-test-reports
- dev-polish/store-icon
- dev-polish/audit-screenshots
- dev-polish/multi-locale-docs
- dev-polish/multi-locale-changelogs
- dev-polish/why-comparison-related
- dev-fix/readme-source-url
- dev-tests/migrate-scaffold-and-noindex
- dev-ci/install-pdo-mysql
This package is auto-updated.
Last update: 2026-05-18 01:38:36 UTC
README
Maintenance Page
![]()
Configurable branded maintenance page for Shopware 6. Admin-editable heading, lead, launch-window badge, auto-reload, SEO meta. Works standalone โ no dependency on any theme.
License: MIT ยท Shopware: 6.7.x ยท PHP: 8.1 / 8.2
๐ฌ๐ง English ยท ๐ณ๐ฑ Nederlands ยท ๐ฉ๐ช Deutsch
๐ More context: Why we built this ยท How it compares
Screenshots
Maintenance page โ desktop |
Maintenance page โ mobile (responsive) |
What it does
Shopware's default maintenance page is generic and unbranded. Rolling your own in the theme plugin couples "the store is down" copy to "the store theme", which is exactly when you can't rely on the theme. This plugin ships its own page that:
- Survives theme failures โ renders independently; if your theme has a SCSS compile error, maintenance still renders correctly
- Admin-editable copy โ heading, lead, icon emoji, launch-window badge, social CTA, SEO meta, all per sales channel
- Returns HTTP
503 Service Unavailable+Retry-After(v1.3+) โ Google's documented correct behaviour for planned downtime, paired with defaultnoindex, followso multi-day maintenance windows don't poison your SERP rankings or stick "we'll be back" snippets in the index - Dynamic
Retry-Afterfrom a configurableexpectedBackAtdatetime (v1.4+) โ admins set the moment the shop will be back; crawlers, CDNs, and uptime monitors get an accurate hint instead of guessing. Per sales channel, clamped to[60s, 24h] - Auto-reload โ optional interval so visitors don't have to refresh manually when the window ends
- Snippet fallbacks โ nl-NL / en-GB / de-DE built in; if the admin leaves a field blank, the snippet provides a sensible default
Install
composer require tenbruggencate/maintenance
bin/console plugin:refresh
bin/console plugin:install --activate TenBruggencateMaintenance
bin/console cache:clear
Configuration
Editable per sales channel from Settings โ System โ Plugins โ Maintenance Page.
| Field | Default | Purpose |
|---|---|---|
enabled | true | Kill switch โ falls back to vendor page when off |
heading | (snippet) | Main heading |
lead | (snippet) | Sub-heading |
icon | โจ | Emoji shown above the heading; leave blank to hide |
launchWindow | (empty) | Badge text e.g. "Spring 2026"; hidden when empty |
socialText | (empty) | Bottom CTA e.g. "Follow us on Instagram"; hidden when empty |
metaTitle | (snippet) | SEO <title> + Open Graph / Twitter card title |
metaDescription | (snippet) | SEO meta description + Open Graph / Twitter card description |
autoReloadSeconds | 0 | Auto-reload interval in seconds; 0 disables, values 1โ9 are raised to a 10s floor |
expectedBackAt | (empty) | Datetime the shop is expected back; drives the Retry-After header (clamped 60sโ24h) |
allowIndexing | false | Let search engines index the page; off (default) emits noindex, follow |
Standards
- Performance โ no runtime JS, no external font fetch, no image dependencies. The page is ~3 KB + inline SCSS.
- SEO โ emits
<meta name="robots" content="noindex, follow">by default so a maintenance window doesn't get indexed; shops running a pre-launch "coming soon" campaign opt into indexing via theallowIndexingconfig.metaTitle/metaDescriptionpopulate the<title>, the meta description, and the Open Graph / Twitter card tags, so a maintenance URL shared on social during a launch shows a proper preview instead of a blank card. - GDPR โ stateless. No cookies, no tracking, no data stored per visitor. Analytics (TenBruggencateAnalytics) and tracker scripts are disabled on this page by design. Full data-flow documentation in
GDPR.md. - WCAG 2.2 AA โ a single semantic
h1, visible focus states on the footer legal links, colour contrast validated against the shipped palette, and the footer navaria-labellocalised per storefront language. Screen readers announce the launch-window badge as regular text. Live axe-core audit is on-demand because it requires enabling maintenance mode on the whole stack: seedocs/ACCESSIBILITY.mdfor the reproducer. - Security โ all fields are escaped via Twig; HTML is not allowed in any admin field, preventing XSS via a compromised admin account.
- Uninstall โ
plugin:uninstall --keep-user-datapreserves every per-SC maintenance copy config;plugin:uninstallwithout the flag drops allTenBruggencateMaintenance.config.*rows so the destructive path leaves no trace. No owned tables.
Production-readiness checklist
A deliberately short list of things to verify before enabling the plugin on a customer-facing storefront. Not legal cover โ the MIT license already disclaims warranty โ but practical guidance an experienced operator would want anyway.
- [ ] Test on staging before flipping the kill-switch on prod. Especially the
enabled=falsefallthrough path (which renders Shopware's default maintenance page) โ that branch only activates if a typo in your config breaks the override, and you do not want the first time you see Shopware's default page to be when your overridden one has crashed. - [ ] Set
expectedBackAtper sales channel before each maintenance window. Without it,Retry-Afterdefaults to 1 hour. With it, crawlers and uptime monitors get a precise hint and re-check the moment you're back instead of waiting out a stale default. - [ ] Confirm the
metaTitle/metaDescriptionfields are filled for any sales channel where the maintenance URL might be shared on social during a launch window โ these populate the Open Graph / Twitter card preview, which is otherwise blank. - [ ] Update your uptime-monitoring expectations. v1.3+ returns HTTP 503 (was 200 before). Your monitor must treat 503 during planned maintenance as expected; otherwise you'll page yourself.
- [ ]
enabled=falseis a kill-switch, not a debugger โ toggling it off in prod silently swaps to Shopware's default maintenance page. If something looks off in your branded copy, fix the copy; turning the plugin off won't tell you what was wrong.
Compatibility
Core platform
| Shopware | PHP | Status |
|---|---|---|
| 6.7.x โ tested against 6.7.8, 6.7.9 | 8.1, 8.2 | Stable |
| 6.6.x | โ | Not supported |
| 6.5.x and earlier | โ | Not supported |
Database
| Engine | Version | Notes |
|---|---|---|
| MySQL | 8.0+ | Primary target; JSON functions used for config-row manipulation in migrations |
| MariaDB | 10.11+ | Tested end-to-end; earlier versions lack some JSON operator support |
Browsers (storefront)
Evergreen browsers only โ the two most recent stable releases of each:
| Browser | Desktop | Mobile |
|---|---|---|
| Chrome / Chromium | โ | โ |
| Firefox | โ | โ |
| Safari | โ (macOS) | โ (iOS 16+) |
| Edge | โ | โ |
Internet Explorer and legacy Edge are not supported. The plugin emits no runtime JS (where applicable) so graceful degradation on older browsers usually still renders content, just without progressive enhancements.
Admin browsers
Same evergreen matrix โ the Shopware admin is Vue-based and has its own compatibility baseline that this plugin doesn't extend or narrow.
Development
| Tool | Version | Scope |
|---|---|---|
| PHP | โฅ 8.1 | Runtime + test suite |
| Composer | 2.x | Dependency management |
| Node.js | โฅ 18 | Only needed if you edit SCSS and re-run the theme compile |
| Python | โฅ 3.9 | Only needed for the repo's asset-pipeline scripts (scripts/*.py) |
Accessibility
WCAG 2.2 level A + AA โ see docs/ACCESSIBILITY.md for axe-core audit output and per-page violations.
What we test before each release
- Full PHPUnit unit suite against PHP 8.1 + 8.2 (source-inspection tests don't need a kernel)
- PHPStan level 8 + PHP-CS-Fixer (@PSR12 + @Symfony)
- Composer validate on every plugin
- Live-DB smoke tests (plugin install โ activate โ route render โ uninstall cycle)
- axe-core audit on the primary storefront surfaces (see ACCESSIBILITY.md)
Related plugins
Part of the TenBruggencate Suite โ small, focused plugins that play well together:
- MultiBrand โ hostname-based brand resolver + per-brand
--brand-*CSS tokens. When active, the maintenance page picks up per-host brand styling automatically. - LegalPages โ Dutch / German / English legal page templates. Legal footer links render in the maintenance footer so visitors can still reach imprint / privacy during downtime.
- Analytics โ multi-backend analytics (Matomo / Plausible). Cookieless by default, GDPR-first.
- NewsletterLite โ lightweight GDPR-safe newsletter signup with opaque-token unsubscribe.
Support
- Email: guy@tenbruggencatedevelopment.nl
- Docs & news: tenbruggencatedevelopment.nl
- Source / issues: Bitbucket repo
- Security vulnerabilities: see
SECURITY.mdโ email first, no public issues, 72-hour acknowledgement SLA
License
MIT ยฉ Ten Bruggencate Development
More from Ten Bruggencate Development
Focused, privacy-first Shopware 6 plugins โ free to start, upgrade when you grow:
- Newsletter โ Lite: GDPR-safe signup & subscriber-list management ยท Pro: campaigns, lifecycle automations, native-data segmentation
- Legal Pages โ Lite: localized legal-page templates ยท Pro: the compliance toolkit (maintained templates, cookie policy, accessibility statement)
- Analytics โ multi-backend (Matomo / Plausible), GDPR-first, cookieless-capable
- Maintenance โ a branded, SEO-correct maintenance page
- Multi-Brand โ serve multiple brands from one Shopware, by hostname
- Product Encyclopedia โ structured educational content pages linked to products
- Seasons โ scheduled theme-config variants