@shopbite-de/storefront 2.3.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/.env.example +13 -1
  2. package/.github/workflows/build.yaml +2 -2
  3. package/.github/workflows/ci.yaml +11 -11
  4. package/.nuxtrc +1 -1
  5. package/CLAUDE.md +8 -5
  6. package/app/app.vue +1 -1
  7. package/app/components/Address/Fields.vue +1 -2
  8. package/app/components/Header.vue +4 -0
  9. package/app/components/Home/Categories.vue +2 -2
  10. package/app/components/Menu/BonCard.vue +1 -2
  11. package/app/components/Navigation/MobileTop.vue +1 -1
  12. package/app/components/Order/Confirmation.vue +1 -2
  13. package/app/components/Product/QuickView.vue +1 -2
  14. package/app/composables/useAddressAutocomplete.ts +3 -11
  15. package/app/composables/useCheckoutMethodGuard.ts +1 -1
  16. package/app/composables/useShippingMethodChoice.ts +2 -2
  17. package/app/composables/useTrackEvent.ts +4 -3
  18. package/app/pages/account/recover/password/index.vue +10 -0
  19. package/app/pages/registrierung/bestaetigen.vue +4 -0
  20. package/app/utils/openingHours.ts +1 -1
  21. package/app/utils/schema.ts +2 -2
  22. package/app/utils/trackingUrl.ts +39 -0
  23. package/content/index.yml +16 -16
  24. package/content/zahlung-und-versand.md +3 -3
  25. package/docs/notes/2026-07-04-issue-239-hydration-mismatches.md +1 -1
  26. package/docs/notes/2026-09-08-issue-244-category-url-trailing-slash.md +2 -2
  27. package/docs/notes/2026-09-10-issue-251-shop-data-in-base-layer.md +4 -4
  28. package/docs/notes/2026-09-10-issue-272-restaurant-schema.md +3 -3
  29. package/docs/notes/2026-09-10-issue-273-performance-media.md +4 -4
  30. package/docs/notes/2026-09-10-issue-274-seo-basics.md +6 -6
  31. package/docs/notes/2026-09-10-issue-275-accessibility.md +3 -3
  32. package/docs/notes/2026-09-10-issue-290-footer-nap.md +5 -5
  33. package/docs/notes/2026-09-10-issue-294-matomo-without-config.md +1 -1
  34. package/docs/notes/2026-09-10-issue-296-track-direct-search.md +1 -1
  35. package/docs/notes/2026-09-10-issue-312-store-api-criteria-post.md +3 -3
  36. package/docs/notes/2026-09-10-issue-313-wishlist-scoped-tailwind.md +1 -1
  37. package/docs/notes/2026-09-10-issue-314-mobile-js-cost.md +1 -1
  38. package/docs/notes/2026-09-12-issue-319-stylesheet-cost.md +1 -1
  39. package/docs/notes/2026-09-12-issue-325-product-card.md +2 -2
  40. package/docs/notes/2026-09-12-issue-327-home-hero.md +2 -2
  41. package/docs/notes/2026-09-13-issue-332-home-info-cards.md +1 -1
  42. package/docs/notes/2026-09-13-quick-view-flicker.md +1 -1
  43. package/docs/notes/2026-09-14-demo-noindex.md +2 -2
  44. package/docs/notes/2026-09-17-quick-view-compact-options.md +1 -1
  45. package/docs/notes/2026-09-21-issue-273-cache-and-demo-video.md +1 -1
  46. package/docs/notes/2026-09-21-issue-363-non-fatal-404.md +2 -2
  47. package/docs/notes/2026-09-21-issue-366-wishlist-404.md +1 -1
  48. package/docs/notes/2026-09-21-issue-378-dev-modules.md +1 -1
  49. package/docs/notes/2026-10-05-issue-289-product-deep-links.md +1 -1
  50. package/docs/notes/2026-10-05-issue-400-menu-item-ingredients-diet.md +1 -1
  51. package/docs/notes/2026-10-05-issue-401-restaurant-schema-ordering.md +1 -1
  52. package/docs/notes/2026-10-05-issue-402-llms-txt.md +1 -1
  53. package/docs/notes/2026-10-05-issue-403-ai-crawlers.md +1 -1
  54. package/docs/notes/2026-10-05-issue-404-faq.md +1 -1
  55. package/docs/notes/2026-10-06-old-seo-url-redirect.md +5 -5
  56. package/docs/notes/2026-10-07-issue-434-property-group-projection.md +1 -1
  57. package/docs/notes/2026-11-18-dependency-update.md +118 -0
  58. package/node.dockerfile +7 -7
  59. package/nuxt.config.ts +65 -9
  60. package/package.json +41 -40
  61. package/pnpm-workspace.yaml +0 -2
  62. package/server/api/address/autocomplete.get.ts +79 -14
  63. package/server/api/listing/[categoryId].get.ts +5 -28
  64. package/server/api/search.get.ts +4 -18
  65. package/server/plugins/ai-crawlers.ts +1 -1
  66. package/server/plugins/bounded-cache.ts +28 -0
  67. package/server/plugins/security-headers.ts +54 -0
  68. package/server/plugins/site-url.ts +2 -2
  69. package/server/routes/llms.txt.ts +7 -3
  70. package/server/utils/addressAutocomplete.ts +181 -0
  71. package/server/utils/listingParams.ts +117 -0
  72. package/server/utils/securityHeaders.ts +165 -0
  73. package/server/utils/storeApi.ts +4 -2
  74. package/test/a11y/presets.test.ts +3 -1
  75. package/test/layer/nuxt.config.ts +2 -2
  76. package/test/nuxt/AccountPagesPreset.test.ts +10 -10
  77. package/test/nuxt/AuthPagesPreset.test.ts +3 -0
  78. package/test/nuxt/CheckoutFormsPreset.test.ts +5 -5
  79. package/test/nuxt/CheckoutOnePage.test.ts +2 -0
  80. package/test/nuxt/CheckoutSummary.test.ts +1 -1
  81. package/test/nuxt/HeaderFooterPreset.test.ts +23 -14
  82. package/test/nuxt/HomeFaq.test.ts +1 -1
  83. package/test/nuxt/NavigationMobileTop.test.ts +1 -1
  84. package/test/nuxt/OrderPagesPreset.test.ts +2 -2
  85. package/test/nuxt/RegisterConfirmPage.test.ts +12 -0
  86. package/test/nuxt/useAddressAutocomplete.test.ts +7 -22
  87. package/test/nuxt/useCheckoutMethodGuard.test.ts +1 -1
  88. package/test/nuxt/useShippingMethodChoice.test.ts +1 -1
  89. package/test/nuxt/useTrackEvent.test.ts +16 -0
  90. package/test/unit/addressAutocomplete.spec.ts +247 -0
  91. package/test/unit/boundedCache.spec.ts +231 -0
  92. package/test/unit/highlight.spec.ts +2 -2
  93. package/test/unit/llmsTxt.spec.ts +28 -28
  94. package/test/unit/openingHours.spec.ts +3 -3
  95. package/test/unit/schema.spec.ts +29 -32
  96. package/test/unit/securityHeaders.spec.ts +254 -0
  97. package/test/unit/seo.spec.ts +23 -29
  98. package/test/unit/sitemap.spec.ts +1 -1
  99. package/test/unit/trackingUrl.spec.ts +48 -0
  100. package/patches/@shopware__nuxt-module@1.5.2.patch +0 -13
package/.env.example CHANGED
@@ -20,6 +20,11 @@ OPENAPI_ACCESS_KEY=key
20
20
  OPENAPI_JSON_URL="https://shopware.shopbite.net"
21
21
 
22
22
  NUXT_GEOAPIFY_API_KEY=
23
+ # Per-IP limit of address lookups that reach Geoapify (token bucket in
24
+ # memory; capacity 0 = off, e.g. when the reverse proxy limits the route).
25
+ # The client IP is read from X-Forwarded-For.
26
+ NUXT_ADDRESS_AUTOCOMPLETE_RATE_LIMIT_CAPACITY=20
27
+ NUXT_ADDRESS_AUTOCOMPLETE_RATE_LIMIT_REFILL_PER_MINUTE=20
23
28
 
24
29
  # Matomo loads only when both values are set
25
30
  NUXT_PUBLIC_SCRIPTS_MATOMO_ANALYTICS_MATOMO_URL=
@@ -39,7 +44,7 @@ NUXT_PUBLIC_SITE_TELEPHONE=
39
44
  NUXT_PUBLIC_SITE_GOOGLE_BUSINESS_PROFILE_URL=
40
45
  # Restaurant schema (schema.org), e.g. "€€"
41
46
  NUXT_PUBLIC_SITE_PRICE_RANGE=
42
- # Comma-separated, e.g. "63179 Obertshausen, 63165 Lämmerspiel"
47
+ # Comma-separated, e.g. "12345 Musterstadt, 12346 Beispieldorf"
43
48
  NUXT_PUBLIC_SITE_DELIVERY_AREAS=
44
49
  NUXT_PUBLIC_SITE_GEO_LATITUDE=
45
50
  NUXT_PUBLIC_SITE_GEO_LONGITUDE=
@@ -53,3 +58,10 @@ NUXT_STORE_NAME="ShopBite"
53
58
  STORE_DESCRIPTION="Reduziere deine Kosten und steigere deinen Umsatz"
54
59
  # Secret of POST /api/_cache/purge, the backoffice empties the Store API caches after menu changes (empty = off)
55
60
  NUXT_CACHE_PURGE_SECRET=
61
+
62
+ # Bound of the in-memory server cache (LRU); max entries 0 = unbounded
63
+ NUXT_CACHE_STORAGE_MAX_ENTRIES=5000
64
+ NUXT_CACHE_STORAGE_MAX_SIZE_MB=128
65
+ # Sortings accepted by the listing and search routes, comma-separated
66
+ # (empty = Shopware's standard sortings; add custom sorting keys here)
67
+ NUXT_LISTING_SORTINGS=
@@ -65,12 +65,12 @@ jobs:
65
65
  - name: Install pnpm
66
66
  uses: pnpm/action-setup@v6
67
67
  with:
68
- version: 12.11.2
68
+ version: 12.21.0
69
69
 
70
70
  - name: Install Node.js
71
71
  uses: actions/setup-node@v7
72
72
  with:
73
- node-version: '24'
73
+ node-version: '26'
74
74
  cache: 'pnpm'
75
75
  registry-url: 'https://registry.npmjs.org'
76
76
 
@@ -25,11 +25,11 @@ jobs:
25
25
 
26
26
  - uses: pnpm/action-setup@v6
27
27
  with:
28
- version: 12.11.2
28
+ version: 12.21.0
29
29
 
30
30
  - uses: actions/setup-node@v7
31
31
  with:
32
- node-version: '24'
32
+ node-version: '26'
33
33
  cache: 'pnpm'
34
34
 
35
35
  - name: Install build dependencies
@@ -69,11 +69,11 @@ jobs:
69
69
 
70
70
  - uses: pnpm/action-setup@v6
71
71
  with:
72
- version: 12.11.2
72
+ version: 12.21.0
73
73
 
74
74
  - uses: actions/setup-node@v7
75
75
  with:
76
- node-version: '24'
76
+ node-version: '26'
77
77
 
78
78
  - name: Restore workspace from cache
79
79
  uses: actions/cache/restore@v6
@@ -105,11 +105,11 @@ jobs:
105
105
 
106
106
  - uses: pnpm/action-setup@v6
107
107
  with:
108
- version: 12.11.2
108
+ version: 12.21.0
109
109
 
110
110
  - uses: actions/setup-node@v7
111
111
  with:
112
- node-version: '24'
112
+ node-version: '26'
113
113
 
114
114
  - name: Restore workspace from cache
115
115
  uses: actions/cache/restore@v6
@@ -134,11 +134,11 @@ jobs:
134
134
 
135
135
  - uses: pnpm/action-setup@v6
136
136
  with:
137
- version: 12.11.2
137
+ version: 12.21.0
138
138
 
139
139
  - uses: actions/setup-node@v7
140
140
  with:
141
- node-version: '24'
141
+ node-version: '26'
142
142
 
143
143
  - name: Restore workspace from cache
144
144
  uses: actions/cache/restore@v6
@@ -172,11 +172,11 @@ jobs:
172
172
 
173
173
  - uses: pnpm/action-setup@v6
174
174
  with:
175
- version: 12.11.2
175
+ version: 12.21.0
176
176
 
177
177
  - uses: actions/setup-node@v7
178
178
  with:
179
- node-version: '24'
179
+ node-version: '26'
180
180
 
181
181
  - name: Restore workspace from cache
182
182
  uses: actions/cache/restore@v6
@@ -226,7 +226,7 @@ jobs:
226
226
  #
227
227
  # - uses: actions/setup-node@v6
228
228
  # with:
229
- # node-version: '24'
229
+ # node-version: '26'
230
230
  #
231
231
  # - name: Restore workspace from cache
232
232
  # uses: actions/cache/restore@v5
package/.nuxtrc CHANGED
@@ -1 +1 @@
1
- setups.@nuxt/test-utils="4.3.3"
1
+ setups.@nuxt/test-utils="4.4.0"
package/CLAUDE.md CHANGED
@@ -51,11 +51,12 @@ pnpm playwright test test/e2e/checkout.spec.ts
51
51
 
52
52
  Always run `nuxt typecheck` via the `pnpm typecheck` script, not via `npx vue-tsc`. The global npx-cached `vue-tsc` version may not be compatible with the project's installed `vue-router`. If `.nuxt/tsconfig.json` has stale pnpm paths after a dependency update (or after adding/renaming a composable), run `pnpm nuxt prepare` to regenerate it.
53
53
 
54
- `pnpm typecheck` must stay at zero errors; CI runs it in the lint job. The sources of `@shopware/composables` and the `@shopware/nuxt-module` plugin are part of the checked program, so three things keep them green (see `docs/notes/2026-09-08-issue-277-typecheck.md`):
54
+ `pnpm typecheck` must stay at zero errors; CI runs it in the lint job. The sources of `@shopware/composables` and the `@shopware/nuxt-module` plugin are part of the checked program, so two things keep them green (see `docs/notes/2026-09-08-issue-277-typecheck.md`):
55
55
 
56
56
  - `shopware.d.ts` falls back to the api-client's default types for operations/schemas our instance does not expose, and keeps `LineItem.payload` optional.
57
57
  - `api-gen.config.json` applies the upstream schema patches plus `api-types/storeApiSchema.shopbite.overrides.json` when generating types.
58
- - `patches/@shopware__nuxt-module@1.5.2.patch` (pnpm patch) points the plugin's `ShopwareNuxtOptions` import at `./dist/index` (the package ships no `src/`). Since 1.5.2 the plugin carries its explicit type upstream, so this one line is all that is left. When Renovate bumps `@shopware/nuxt-module`, the patch must be re-applied to the new version (`pnpm patch @shopware/nuxt-module@<version>`), or dropped once upstream fixes the import.
58
+
59
+ Until 1.5.2 a pnpm patch fixed the plugin's `ShopwareNuxtOptions` import (`./src`, not shipped). `@shopware/nuxt-module` 1.6 imports `ShopwareNuxtOptions` from its package name, so the patch is gone (`docs/notes/2026-11-18-dependency-update.md`). If a future version breaks the plugin's types again, patch it with `pnpm patch @shopware/nuxt-module@<version>` and add `patches/` to `node.dockerfile`'s `COPY`.
59
60
 
60
61
  Do not name a project composable like one from the `@shopware/composables` layer (e.g. `useCategory`): the project version shadows the layer's inside the layer's own code as well.
61
62
 
@@ -111,7 +112,7 @@ The storefront reads plain Shopware entities with fixed names; seed data must ma
111
112
 
112
113
  ### Server routes
113
114
 
114
- `server/api/address/autocomplete.get.ts` — Geoapify proxy (keeps API key server-side).
115
+ `server/api/address/autocomplete.get.ts` — Geoapify proxy (keeps API key server-side). Passes on only `text` (3–200 characters), `lang` (`/^[a-z]{2}$/`) and `limit` (1–10), 400 otherwise; the area filter comes from `public.shopBite.addressAutocomplete.boundingBox`, never from the query. Upstream errors are logged with the key redacted and answered with a generic 502 (ofetch messages contain the request URL). Identical lookups come from a bounded in-memory cache (5 min, 500 entries); lookups reaching Geoapify are rate limited per client IP (`addressAutocomplete.rateLimit`, token bucket in memory per process, capacity 0 = off; the IP comes from `X-Forwarded-For`, so the app must run behind a proxy that sets it). Helpers in `server/utils/addressAutocomplete.ts`.
115
116
  `server/utils/shopware/adminApiClient.ts` — Admin API client for server-side Shopware operations requiring elevated credentials.
116
117
  `server/api/__sitemap__/urls.get.ts` — dynamic `@nuxtjs/sitemap` source (navigation categories from the Store API).
117
118
  `server/routes/llms.txt.ts` — `/llms.txt` for AI assistants (#402): shop, hours, ordering and the menu with prices, ingredients and diets as Markdown, built by the pure `server/utils/llmsTxt.ts`; `swr` 1 h. Every Store API source is optional (`Promise.allSettled`), content pages blocked in `robots.txt` are left out.
@@ -119,14 +120,16 @@ The storefront reads plain Shopware entities with fixed names; seed data must ma
119
120
  Pages without content throw `createNotFoundError()` (`app/utils/notFound.ts`): fatal only in the browser, because a fatal error makes Nitro log a `[request error] [fatal]` block per scanner request (#363).
120
121
  `modules/dev-tooling.ts` registers `@nuxt/eslint`, `@nuxt/hints` and `@nuxt/test-utils/module` only when the storefront itself is the project (not for shops extending the layer, not inside `node_modules`); they are devDependencies, so never add them to `modules` in `nuxt.config.ts` (#378).
121
122
  The cached Store API handlers (`defineCachedEventHandler`, TTL `public.shopBite.cacheTtl`, a day for products, listings, categories) can be emptied by the backoffice: `POST /api/_cache/purge` with `Authorization: Bearer $NUXT_CACHE_PURGE_SECRET` (route off without the secret, #484). `server/utils/cachePurge.ts` picks the Nitro keys (`cache:nitro:handlers:<name>:<escaped key>`) by id, so a new cached handler needs its `name` in `ALL` there and the id in its `getKey`.
123
+ The Nitro cache is bounded (`server/plugins/bounded-cache.ts`): an LRU (`unstorage/drivers/lru-cache`) mounted at `cache:` with at most `cacheStorage.maxEntries` entries (5000) and `maxSizeMb` of serialised data (128), `NUXT_CACHE_STORAGE_*`; evicted entries are fetched again. A shop that mounts its own `nitro.storage.cache` keeps it, `maxEntries` 0 leaves the cache unbounded. `/api/listing/[categoryId]` and `/api/search` validate their parameters before they become keys (`server/utils/listingParams.ts`, 400 otherwise): category id and `properties`/`manufacturer` as 32-hex ids (`|`-separated, at most 50, lower-cased, deduplicated and sorted), `order` from `listingSortings` (empty = Shopware's standard sortings `name-asc`, `name-desc`, `price-asc`, `price-desc`, `topseller`, `score`; add custom sortings there), `p` 1–20, text queries at most 100 characters with whitespace collapsed.
122
124
  Layout data is cached the same way, because every page renders it, a 404 too (once its own page and once `/__nuxt_error`): a vulnerability scanner probing 404 paths otherwise multiplied its request rate at Shopware many times over. With warm caches an SSR request asks Shopware only for `/context` (per visitor: cart, login); paths with non-ASCII characters that pass the known-path filter still make their SEO lookups uncached, and the browser loads config, hours and holidays once per page load (below). Handlers and TTLs (`cacheTtl.*`, `NUXT_PUBLIC_SHOP_BITE_CACHE_TTL_*`): `/api/navigation/[type]` (`main`, `footer`, `menu`, `home`; key includes the menu root; `navigation`, a day), `/api/breadcrumb/[categoryId]` (`category`; an empty breadcrumb, i.e. an unknown id, is a 404 and not cached), `/api/top-sellers` (`listing`), `/api/payment-methods` (Restaurant schema, asked without a visitor context; `paymentMethods`, 1 h), `/api/shopbite/config` (cached function `shopbite-config`, `config`, 60 s), `/api/shopbite/business-hours` and `/holidays` (`businessHours`/`holidays`, 5 min), `/api/seo-url?path=` (function `seo-url`, `seoUrl`, 10 min; key = lookup field (`pathInfo` for technical URLs, else `seoPathInfo`) + lower-cased value; only matches that spell the looked-up value up to case are stored, because Shopware's collation also ignores accents and trailing spaces and each such variant would add an entry). Config, hours, holidays and the SEO caches use `swr: false`: with Nitro's default `swr: true` an expired entry is still served once, so the TTL would not cap the staleness. A failed Shopware request is never cached. During an outage the layout handlers and `shopBiteConfig()` serve the last good answer per key and otherwise fail fast with 503; after a failure each handler asks Shopware again only after 30 s (`createResilientLoader`, `server/utils/backoff.ts`), and `storeApiGet`/`storeApiPost` do not retry (ofetch retries a GET once by default). Use the loader in a new cached handler. Before an order, `Checkout/Summary.vue` asks Shopware for the checkout switch (`checkCheckoutEnabled`) and does not order when it is off or cannot be checked. Only server-side rendering reads config, hours and holidays from the cache: `useAsyncData` reuses the server payload at hydration (a `refresh()` during hydration does not fetch either), so `useLiveShopData` (app.vue, error.vue) reloads the three keys from Shopware with `refreshNuxtData` after hydration; store status, delivery time choice and order buttons then act on that. Keys contain no language or context: like all cached handlers they call Shopware with the sales channel's access key only. Every purge (any target) empties the layout handlers (`LAYOUT`), the lists and the cached functions `seo-url`, `seo-paths`, `shopbite-config`; `{ "layout": true }` empties only the layout data (and `llms.txt`), for changes of hours, closing days or the checkout switch.
123
125
 
126
+ `server/plugins/security-headers.ts` sends the headers of `runtimeConfig.securityHeaders` (`NUXT_SECURITY_HEADERS_*`, empty value = header off, builders in `server/utils/securityHeaders.ts`) with every response: HSTS (only when `public.storeUrl` is https), `nosniff`, `X-Frame-Options: DENY` plus `Content-Security-Policy: frame-ancestors 'none'`, `Referrer-Policy`, `Permissions-Policy` (camera, microphone, geolocation, usb, browsing-topics off; Web Share and clipboard stay allowed). Rendered HTML gets `Cache-Control: private, no-store` (it may carry the visitor's cart or login, `useUserContextInSSR`) unless a route rule sets one, loses `x-powered-by`, and gets a `Content-Security-Policy-Report-Only` (self, Shopware endpoint, Matomo, extra hosts from `contentSecurityPolicyReportOnly.scriptSrc`/`connectSrc`/`imgSrc`, optional `reportUri`) whose `script-src` lists the sha256 of each inline script of that response (Nuxt's config script and the import map; JSON payload and JSON-LD are data blocks). Inline styles stay allowed (Vue style bindings). The service worker caches no pages (no `runtimeCaching`), so personalised HTML never lands in CacheStorage.
124
127
  `modules/public-cache.ts` (local module, also active in shops extending the layer) adds a 30-day `Cache-Control` route rule for every file in the `public/` folders of all layers; Nitro serves them without one. `image.ipx.maxAge` gives resized logos the same lifetime. Replace a public file under a new name (#273).
125
128
  `server/api/content/*.get.ts` — Nuxt Content queries for the pages. Do not call `queryCollection()` in page code: in the browser it downloads the SQLite WASM build (865 KB) on client-side navigation (#314).
126
129
 
127
130
  ### Client-side JavaScript budget (#314)
128
131
 
129
- - Nothing that the first paint does not need belongs in the entry chunk. Components that only some shops use go behind `Lazy…` + `v-if` (`SalesChannelSwitch`); the Matomo registry is imported in `plugins/matomo.ts` after `onNuxtReady`, tracking pushes to `_paq` via `useTrackEvent`.
132
+ - Nothing that the first paint does not need belongs in the entry chunk. Components that only some shops use go behind `Lazy…` + `v-if` (`SalesChannelSwitch`); the Matomo registry is imported in `plugins/matomo.ts` after `onNuxtReady`, tracking pushes to `_paq` via `useTrackEvent`. Tracked URLs (`setCustomUrl`) go through `trackingUrl()` (`app/utils/trackingUrl.ts`): no fragment, and of the query only campaign parameters (`utm_*`, `mtm_*`, `pk_*`, `matomo_*`) and the quick view configuration (`produkt`, `ohne`, `extras`), because e-mail links carry one-time secrets; the password reset and registration confirmation pages also `router.replace` their query away once read.
130
133
  - Overlays (`SbSheet`, collapsibles) are created on first use (`v-if` + `nextTick()` before opening), not mounted with the page — mounting forces a layout of the whole page.
131
134
  - Long lists render on the server and hydrate on scroll: `hydrateWhenVisible(Component)` (`app/utils`) keeps the markup and the chunk, Used for the bon cards and the footer.
132
135
  - `NuxtLink` prefetches on interaction only (`experimental.defaults.nuxtLink`), and Rolldown groups shared framework/UI modules into two chunks (`vite.build.rollupOptions.output.codeSplitting`). Measure with Lighthouse behind the h2 proxy (see `docs/notes/2026-09-10-issue-314-mobile-js-cost.md`) before changing either.
@@ -144,7 +147,7 @@ Layout data is cached the same way, because every page renders it, a 404 too (on
144
147
  - No toasts (removed in #445, other responses to be designed): results and errors show where they happen, e.g. `role="alert"` boxes in forms and the checkout, `role="status"` regions, the voucher error at its field.
145
148
  - Menu (#441): `Category/Listing.vue` has three columns from `lg` (`MenuCategoryIndex` word list, the list, `MenuCartPanel`), `NavigationMobileTop` below `lg` (section chips; the open section's sub-categories as a second chip row led by "Alle", the current chip scrolls into view); `MenuSectionHeader` and `MenuBonCard` (one column, number strip, `photo` for the `bonPhoto` view). The card's button adds a product straight to the cart unless `productNeedsChoice()` (a parent with variants, `childCount` in the listing projection), which opens the quick view; extras stay optional. Cards hydrate on approach (`hydrateWhenVisible`), so a click on a card that has not hydrated yet is lost. Filters live in an `SbSheet`, sorting is an `SbSelect` (`toSortingOptions()`). A section with sub-sections (#487) lists its dishes grouped: direct dishes first, then an `h2` per sub-section in navigation order (`groupBySubsections()`/`findCategory()` in `app/utils/menuGroups.ts`, needs `categoryIds` in the listing projection); the sub-section pages stay.
146
149
  - Product sheet (#442): `SbSheet` with a bon header (a custom `#header` gets the full width below a toolbar with the `#actions` and the close button; next to the buttons a long name broke after four letters on a 393 px phone) (number strip, name as `DialogTitle`, diet and description as `DialogDescription`); `Configurator` shows variants as `SbChoiceGroup` (required), `DeselectIngredient` as `SbChip` ingredient chips (pressed = included), `CrossSelling` as `SbCheckbox` rows with a search, `Detail` a sticky footer with `SbStepper` and the add button.
147
- - Cart and checkout (#443): `MenuOrderMode` (`useOrderMode`) and the checkout's shipping section list ALL active shipping methods (`useShippingMethodChoice`, `onlyAvailable: false`), because a delivery-area rule on the shipping city never matches before the guest has an address (La Fattoria, fixed in 2.0.3); `useCheckoutMethodGuard` switches only a blocked payment method, a blocked shipping method is reported in the checkout and never switched to pickup. It shows the shipping methods as an `SbSegmentedControl` only when there are two to four. The header cart opens an `SbSheet`; `Cart/Item` uses `SbStepper` (remove at 1). The checkout is one page, `/bestellung/kasse` (the old step routes 301 there, `routeRules`): numbered sections Lieferung oder Abholung (`CheckoutPaymentAndDelivery part="shipping"`), Wann, Ihre Angaben (`CheckoutLoginOrRegister` with Reka tabs, `UserRegistrationForm` (logic in `useRegistrationForm`) / `UserLoginForm`, or `UserDetail`), Bezahlung (`part="payment"`) and the order card in `Checkout/Summary.vue`; the order button says "Zahlungspflichtig bestellen" (§ 312j BGB). Forms validate with Zod on submit and show errors at the fields plus a focused summary in form order; `AddressFields` sets `autocomplete`.
150
+ - Cart and checkout (#443): `MenuOrderMode` (`useOrderMode`) and the checkout's shipping section list ALL active shipping methods (`useShippingMethodChoice`, `onlyAvailable: false`), because a delivery-area rule on the shipping city never matches before the guest has an address (fixed in 2.0.3); `useCheckoutMethodGuard` switches only a blocked payment method, a blocked shipping method is reported in the checkout and never switched to pickup. It shows the shipping methods as an `SbSegmentedControl` only when there are two to four. The header cart opens an `SbSheet`; `Cart/Item` uses `SbStepper` (remove at 1). The checkout is one page, `/bestellung/kasse` (the old step routes 301 there, `routeRules`): numbered sections Lieferung oder Abholung (`CheckoutPaymentAndDelivery part="shipping"`), Wann, Ihre Angaben (`CheckoutLoginOrRegister` with Reka tabs, `UserRegistrationForm` (logic in `useRegistrationForm`) / `UserLoginForm`, or `UserDetail`), Bezahlung (`part="payment"`) and the order card in `Checkout/Summary.vue`; the order button says "Zahlungspflichtig bestellen" (§ 312j BGB). Forms validate with Zod on submit and show errors at the fields plus a focused summary in form order; `AddressFields` sets `autocomplete`.
148
151
  - Order and account (#445): `/bestellung/<id>/erfolg` and `/bestellung/<id>` render `OrderConfirmation` (`OrderDetail`: facts incl. the wished time from the `customerComment`, receipt lines, totals; call card), `/bestellung/<id>/fehler` a payment retry. Login, registration, password pages and the registration confirmation render in `UserAuthPanel`; the account pages in `layouts/account.vue` (link navigation with `aria-current`) with `UserAccountHeader`; `AddressForm` (also used when an address is edited in the checkout). Irreversible actions confirm with `SbConfirmDialog` (focus starts on "Abbrechen"). Search, contact (`useContactForm`), wishlist (`useWishlistEntries`, #467), content pages and `error.vue` (with its own `Header`/`Footer`, because the error page replaces `app.vue`) use the same pieces.
149
152
  - Home page (#444): `pages/index.vue` renders `HomeHero` (kicker, `[highlight]{.text-primary}` part in the accent colour via `splitHighlight()`, buttons from `hero.links`, live status, rating card from the Google `usp`; the photo is `hero.image` with the blurred video `hero.poster` as fallback, cropped 4:5 at `hero.imagePosition` (object-position); it sits in a `<picture>` with a `min-width: 640px` source, so phones load a 1 px GIF), `HomeFacts` (`features`), `HomeCategories` (word list, `useHomeMenuCategories`; a wide first category image switches to a full-width photo below the words, and `sizes` asks for the width the crop needs, since thumbnails are picked by width), `HomeHighlights` (top sellers as bon cards), `HomeRestaurant` (`gallery` + opening hours in the SSR HTML) and the two-column `HomeFaq`; `cta` and `mittagstisch` in `content/index.yml` are not shown.
150
153
  - Header and footer (#455): `Header.vue` (logo, main nav, status pill, phone, account, wishlist, cart button opening the cart `SbSheet`, menu `SbSheet` on phones), `Footer.vue` (address, hours, footer navigation columns). `app.vue` has the skip link to `main#inhalt`.
package/app/app.vue CHANGED
@@ -100,7 +100,7 @@ useSeoMeta({
100
100
  </script>
101
101
 
102
102
  <template>
103
- <VitePwaManifest />
103
+ <NuxtPwaManifest />
104
104
  <NuxtLoadingIndicator />
105
105
 
106
106
  <div>
@@ -164,8 +164,7 @@ const error = (name: string) => props.errors?.[`${props.prefix}.${name}`];
164
164
  class="flex flex-col gap-3 rounded-sb-control bg-sb-primary-tint p-4 font-body text-sb-ink sm:col-span-6 sm:flex-row sm:items-center sm:justify-between"
165
165
  >
166
166
  <span>
167
- Meinten Sie: <strong>{{ correction?.label }}</strong
168
- >?
167
+ Meinten Sie: <strong>{{ correction?.label }}</strong>?
169
168
  </span>
170
169
  <SbButton variant="secondary" @click="applyCorrection"
171
170
  >Übernehmen</SbButton
@@ -217,6 +217,10 @@ function logoutHandler() {
217
217
  <path d="M16 10a4 4 0 0 1-8 0" />
218
218
  </svg>
219
219
  <span class="hidden sm:inline" aria-hidden="true">Warenkorb</span>
220
+ <!-- the space keeps the visible text "Warenkorb 2" (not
221
+ "Warenkorb2") part of the button name (WCAG 2.5.3); a flex
222
+ container does not render it -->
223
+ {{ " " }}
220
224
  <span
221
225
  v-if="cartCount"
222
226
  aria-hidden="true"
@@ -5,8 +5,8 @@ import type { Schemas } from "#shopware";
5
5
  * Menu sections of the presets on the home page (#444): a word list in the
6
6
  * display font on the darker band, no dish counts. On desktop one photo
7
7
  * follows the hovered or focused section (category media from Shopware);
8
- * phones get the words stacked and no photo. Wide category banners (as in
9
- * La Fattoria) do not fit the 4:5 column: then the photo spans the width
8
+ * phones get the words stacked and no photo. Wide category banners (as
9
+ * some shops use) do not fit the 4:5 column: then the photo spans the width
10
10
  * below the words in the banner's own aspect ratio.
11
11
  */
12
12
  withDefaults(
@@ -138,8 +138,7 @@ function onLinkClick(event: MouseEvent) {
138
138
  >{{ name }}</a
139
139
  >
140
140
  <template v-else>
141
- <span class="sr-only">{{ numberLabel }}</span
142
- >{{ name }}
141
+ <span class="sr-only">{{ numberLabel }}</span>{{ name }}
143
142
  </template>
144
143
  </h3>
145
144
  <p
@@ -6,7 +6,7 @@ import { useNavigation } from "~/composables/useNavigation";
6
6
  * Menu categories as horizontally scrolling rows on phones and tablets
7
7
  * (#445); the desktop menu has the word-list index (MenuCategoryIndex).
8
8
  * The first row holds the menu sections. When the open section has
9
- * sub-categories (La Fattoria: Fleischgerichte → Vom Rind, Hähnchen …),
9
+ * sub-categories (e.g. Fleischgerichte → Vom Rind, Hähnchen …),
10
10
  * a second row lists them, led by "Alle" for the section itself; deeper
11
11
  * levels follow in the same row. The current chip scrolls into view.
12
12
  */
@@ -48,8 +48,7 @@ onMounted(async () => {
48
48
  Wir haben sie erhalten und bereiten sie jetzt vor.
49
49
  <template v-if="order?.orderNumber">
50
50
  Ihre Bestellnummer ist
51
- <strong class="tabular-nums">{{ order.orderNumber }}</strong
52
- >.
51
+ <strong class="tabular-nums">{{ order.orderNumber }}</strong>.
53
52
  </template>
54
53
  </p>
55
54
  </header>
@@ -78,8 +78,7 @@ function onVariantSelected(variant: Schemas["Product"]) {
78
78
  <DialogTitle
79
79
  class="font-display text-xl leading-tight hyphens-auto [overflow-wrap:anywhere] sm:text-2xl"
80
80
  >
81
- <span class="sr-only">{{ numberLabel }}</span
82
- >{{ label }}
81
+ <span class="sr-only">{{ numberLabel }}</span>{{ label }}
83
82
  </DialogTitle>
84
83
  <DialogDescription
85
84
  v-if="description || diets.length"
@@ -25,23 +25,15 @@ interface GeoapifyResponse {
25
25
  }
26
26
 
27
27
  export function useAddressAutocomplete() {
28
- const { boundingBoxCoordinates } = useAddressSuggestionArea();
29
-
30
28
  async function getSuggestions(text: string): Promise<AddressSuggestion[]> {
31
29
  if (!text || text.length < 3) {
32
30
  return [];
33
31
  }
34
32
 
35
33
  try {
36
- const query: Record<string, string | number> = {
37
- text,
38
- lang: "de",
39
- limit: 5,
40
- };
41
-
42
- if (boundingBoxCoordinates.value) {
43
- query.filter = `rect:${boundingBoxCoordinates.value}`;
44
- }
34
+ // The server route applies the configured area
35
+ // (`addressAutocomplete.boundingBox`) itself.
36
+ const query = { text, lang: "de", limit: 5 };
45
37
 
46
38
  const { data } = await useFetch<GeoapifyResponse>(
47
39
  "/api/address/autocomplete",
@@ -51,7 +51,7 @@ type MethodGuardConfig<M extends CheckoutMethod> = {
51
51
  * A blocked shipping method is only reported, never switched: its rule
52
52
  * usually needs the shipping address (delivery area), which a guest enters
53
53
  * after choosing delivery or pickup. Switching turned every delivery into
54
- * a pickup before the address was known (La Fattoria, 2.0.2). With an
54
+ * a pickup before the address was known (2.0.2). With an
55
55
  * address the checkout says the method is not possible and the customer
56
56
  * picks another one.
57
57
  */
@@ -6,8 +6,8 @@ import type { Schemas } from "#shopware";
6
6
  *
7
7
  * `useCheckout().getShippingMethods()` asks the Store API for the methods
8
8
  * whose availability rule matches right now. A rule on the shipping
9
- * address (La Fattoria: "Valide Lieferung", city Obertshausen, Hausen or
10
- * Lämmerspiel) never matches before the guest has entered an address, so
9
+ * address (e.g. "Valide Lieferung", city Musterstadt, Nebenort or
10
+ * Beispieldorf) never matches before the guest has entered an address, so
11
11
  * "Lieferung" vanished from the choice. Whether the chosen method works
12
12
  * for the address is checked in the cart (`shipping-method-blocked`).
13
13
  */
@@ -16,9 +16,10 @@ export function useTrackEvent() {
16
16
  }
17
17
 
18
18
  // Page views are pushed by `plugins/matomo.ts` (initial page and every
19
- // `page:finish`), not by the registry's page watcher.
19
+ // `page:finish`), not by the registry's page watcher. The URL keeps only
20
+ // harmless query parameters (`trackingUrl`): e-mail links carry secrets.
20
21
  function trackPageView(path: string) {
21
- push(["setCustomUrl", path]);
22
+ push(["setCustomUrl", trackingUrl(path)]);
22
23
  push(["setDocumentTitle", document.title]);
23
24
  push(["trackPageView"]);
24
25
  }
@@ -75,7 +76,7 @@ export function useTrackEvent() {
75
76
  productNumber: string,
76
77
  path: string,
77
78
  ) {
78
- push(["setCustomUrl", path]);
79
+ push(["setCustomUrl", trackingUrl(path)]);
79
80
  push([
80
81
  "trackEvent",
81
82
  "Product",
@@ -16,6 +16,7 @@ const PASSWORD_MISMATCH_ERROR = "Die Passwörter stimmen nicht überein.";
16
16
 
17
17
  const { apiClient } = useShopwareContext();
18
18
  const route = useRoute();
19
+ const router = useRouter();
19
20
 
20
21
  // Schemas
21
22
  const routeValidationSchema = z.object({
@@ -53,6 +54,15 @@ function validateRouteParameters(): string {
53
54
  const recoveryHash = ref<string>("");
54
55
  recoveryHash.value = validateRouteParameters();
55
56
 
57
+ // The hash is a one-time secret: remove it from the address bar (history,
58
+ // tracking, shared screenshots) once read. After hydration, so the server
59
+ // and the browser render the same page.
60
+ onMounted(() => {
61
+ if (route.query.hash !== undefined) {
62
+ router.replace({ query: {} });
63
+ }
64
+ });
65
+
56
66
  async function resetPassword(data: PasswordResetSchema) {
57
67
  await apiClient.invoke(
58
68
  "recoveryPassword post /account/recovery-password-confirm",
@@ -6,6 +6,7 @@ useSeoMeta({
6
6
  });
7
7
 
8
8
  const route = useRoute();
9
+ const router = useRouter();
9
10
 
10
11
  const { apiClient } = useShopwareContext();
11
12
  const { refreshSessionContext } = useSessionContext();
@@ -41,6 +42,9 @@ function toConfirmError(e: unknown): ConfirmError {
41
42
  async function confirmRegistration() {
42
43
  const em = route.query.em;
43
44
  const hash = route.query.hash;
45
+ // One-time secrets: off the address bar (history, tracking, shared
46
+ // screenshots) once read.
47
+ router.replace({ query: {} });
44
48
  if (typeof em !== "string" || typeof hash !== "string" || !em || !hash) {
45
49
  error.value = "invalid";
46
50
  return;
@@ -84,7 +84,7 @@ export function groupOpeningHours(
84
84
  return rows;
85
85
  }
86
86
 
87
- /** `tel:` link for a displayed phone number, e.g. `+49 6104 71427`. */
87
+ /** `tel:` link for a displayed phone number, e.g. `+49 123 456789`. */
88
88
  export function toTelHref(telephone: string): string {
89
89
  return `tel:${telephone.replace(/[^\d+]/g, "")}`;
90
90
  }
@@ -26,7 +26,7 @@ type HolidayLike = {
26
26
 
27
27
  export type SiteInfo = {
28
28
  name: string;
29
- /** Other names the shop is listed under, e.g. "Alte Schmiede". */
29
+ /** Other names the shop is listed under, e.g. "Alter Hof". */
30
30
  alternateNames?: string[];
31
31
  url: string;
32
32
  description?: string;
@@ -35,7 +35,7 @@ export type SiteInfo = {
35
35
  cuisine?: string;
36
36
  priceRange?: string;
37
37
  googleBusinessProfileUrl?: string;
38
- /** Places the shop delivers to, e.g. "63179 Obertshausen" (#401). */
38
+ /** Places the shop delivers to, e.g. "12345 Musterstadt" (#401). */
39
39
  deliveryAreas?: string[];
40
40
  /** Nuxt parses numeric env values into numbers. */
41
41
  geo?: { latitude?: number | string; longitude?: number | string };
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Query parameters that page tracking may send: Matomo and UTM campaign
3
+ * parameters and the quick view configuration (`produkt`, `ohne`, `extras`,
4
+ * #411). Everything else is dropped, because links from e-mails carry
5
+ * one-time secrets in the query (password reset `hash`, registration
6
+ * confirmation `em`/`hash`).
7
+ */
8
+ const ALLOWED_PARAMS = new Set(["produkt", "ohne", "extras"]);
9
+ const ALLOWED_PREFIXES = ["utm_", "mtm_", "pk_", "matomo_"];
10
+
11
+ function isAllowed(name: string): boolean {
12
+ return (
13
+ ALLOWED_PARAMS.has(name) ||
14
+ ALLOWED_PREFIXES.some(
15
+ (prefix) => name.startsWith(prefix) && name.length > prefix.length,
16
+ )
17
+ );
18
+ }
19
+
20
+ /** The path for Matomo's `setCustomUrl`: no fragment, allowed parameters only. */
21
+ export function trackingUrl(fullPath: string): string {
22
+ const withoutHash = fullPath.split("#")[0] ?? "";
23
+ const queryStart = withoutHash.indexOf("?");
24
+ if (queryStart === -1) return withoutHash;
25
+
26
+ const path = withoutHash.slice(0, queryStart);
27
+ const kept = withoutHash
28
+ .slice(queryStart + 1)
29
+ .split("&")
30
+ .filter((pair) => {
31
+ const name = pair.split("=")[0] ?? "";
32
+ try {
33
+ return isAllowed(decodeURIComponent(name));
34
+ } catch {
35
+ return false;
36
+ }
37
+ });
38
+ return kept.length ? `${path}?${kept.join("&")}` : path;
39
+ }
package/content/index.yml CHANGED
@@ -15,7 +15,7 @@ hero:
15
15
  icon: i-simple-icons-google
16
16
  link: https://www.google.com/maps/place/?q=place_id
17
17
  - title: 20 Jahre
18
- subtitle: in Obertshausen
18
+ subtitle: in Musterstadt
19
19
  icon: i-lucide-award
20
20
  - title: Lieferservice
21
21
  subtitle: Schnell & zuverlässig
@@ -32,7 +32,7 @@ hero:
32
32
  size: xl
33
33
  color: neutral
34
34
  variant: outline
35
- to: "tel:+490610477777"
35
+ to: "tel:+49123456789"
36
36
  target: _blank
37
37
  features:
38
38
  title: Alle [Informationen]{.text-primary} auf einen Blick
@@ -48,7 +48,7 @@ features:
48
48
  to: "#oeffnungszeiten"
49
49
  - title: Lieferung
50
50
  kind: delivery
51
- description: Wir liefern nach Obertshausen und Lämmerspiel. Ab 15 € frei Haus, darunter 1 € Liefergebühr.
51
+ description: Wir liefern nach Musterstadt und Beispieldorf. Ab 15 € frei Haus, darunter 1 € Liefergebühr.
52
52
  icon: i-lucide-truck
53
53
  - title: Reservierung
54
54
  kind: reservation
@@ -56,8 +56,8 @@ features:
56
56
  description: Bestellungen nehmen wir gerne online oder telefonisch entgegen.
57
57
  icon: i-lucide-phone
58
58
  link:
59
- label: 06104 77777 anrufen
60
- to: "tel:+490610477777"
59
+ label: 0123 456789 anrufen
60
+ to: "tel:+49123456789"
61
61
  menu:
62
62
  headline: SHOPBITE
63
63
  title: Unsere Speisekarte
@@ -72,23 +72,23 @@ gallery:
72
72
  headline: SHOPBITE
73
73
  links:
74
74
  - label: Tisch reservieren
75
- to: tel:+49610471427
75
+ to: tel:+49123456789
76
76
  color: primary
77
77
  variant: subtle
78
78
  trailingIcon: i-lucide-phone
79
79
  images:
80
80
  - image: https://fsn1.your-objectstorage.com/shopbite-demo-shopware/media/be/7b/ba/1789148625/restaurant1.webp?ts=1789148625
81
- alt: La Fattoria Restaurant Innenbereich 1
81
+ alt: Restaurant Innenbereich 1
82
82
  - image: https://fsn1.your-objectstorage.com/shopbite-demo-shopware/media/7c/a7/1c/1789148639/restaurant2.webp?ts=1789148639
83
- alt: La Fattoria Restaurant Innenbereich 2
83
+ alt: Restaurant Innenbereich 2
84
84
  - image: https://fsn1.your-objectstorage.com/shopbite-demo-shopware/media/94/27/0b/1789148651/restaurant3.webp?ts=1789148651
85
- alt: La Fattoria Restaurant Innenbereich 3
85
+ alt: Restaurant Innenbereich 3
86
86
  - image: https://fsn1.your-objectstorage.com/shopbite-demo-shopware/media/50/31/b1/1789148669/restaurant4.webp?ts=1789148669
87
- alt: La Fattoria Restaurant Innenbereich 4
87
+ alt: Restaurant Innenbereich 4
88
88
  - image: https://fsn1.your-objectstorage.com/shopbite-demo-shopware/media/41/1b/09/1789148680/restaurant5.webp?ts=1789148680
89
- alt: La Fattoria Restaurant Innenbereich 5
89
+ alt: Restaurant Innenbereich 5
90
90
  - image: https://fsn1.your-objectstorage.com/shopbite-demo-shopware/media/5b/d1/f9/1789148692/restaurant6.webp?ts=1789148692
91
- alt: La Fattoria Restaurant Innenbereich 6
91
+ alt: Restaurant Innenbereich 6
92
92
 
93
93
  mittagstisch:
94
94
  headline: SHOPBITE
@@ -110,7 +110,7 @@ mittagstisch:
110
110
  icon: i-lucide-info
111
111
  links:
112
112
  - label: Reservieren
113
- to: "tel:+49610471427"
113
+ to: "tel:+49123456789"
114
114
  color: neutral
115
115
  variant: subtle
116
116
  trailingIcon: i-lucide-phone
@@ -119,13 +119,13 @@ faq:
119
119
  title: Häufige Fragen
120
120
  items:
121
121
  - question: Wohin liefern Sie?
122
- answer: Wir liefern nach 63179 Obertshausen (Obertshausen und Hausen) und nach 63165 Mühlheim-Lämmerspiel.
122
+ answer: Wir liefern nach 12345 Musterstadt (Musterstadt und Nebenort) und nach 12346 Beispieldorf.
123
123
  - question: Was kostet die Lieferung?
124
124
  answer: Ab 15 € Bestellwert liefern wir kostenlos. Darunter berechnen wir eine Liefergebühr von 2 €.
125
125
  - question: Wie lange dauert die Lieferung?
126
126
  answer: Etwa 30 Minuten. Bei der Bestellung können Sie auch eine spätere Lieferzeit wählen.
127
127
  - question: Kann ich meine Bestellung abholen?
128
- answer: Ja, Sie können Ihre Bestellung auch bei uns in der Kantstraße 6 in Obertshausen abholen.
128
+ answer: Ja, Sie können Ihre Bestellung auch bei uns in der Musterstraße 1 in Musterstadt abholen.
129
129
  - question: Wie kann ich bezahlen?
130
130
  answer: Bei Lieferung bar, bei Abholung bar oder mit EC-Karte.
131
131
  - question: Gibt es vegetarische und vegane Gerichte?
@@ -141,6 +141,6 @@ cta:
141
141
  to: /speisekarte/
142
142
  color: primary
143
143
  - label: Tisch reservieren
144
- to: tel:+49610471427
144
+ to: tel:+49123456789
145
145
  variant: outline
146
146
  trailingIcon: i-lucide-phone
@@ -10,7 +10,7 @@ description: Zahlungs- und Lieferinformationen
10
10
  Wir bieten Ihnen zwei Möglichkeiten, Ihre Bestellung zu erhalten:
11
11
 
12
12
  - **Lieferung:** Wir bringen Ihre Bestellung direkt zu Ihnen nach Hause (beachten Sie bitte unsere Liefergebiete).
13
- - **Abholung:** Sie können Ihre Bestellung auch direkt bei uns abholen (Kantstraße 6, 63179 Obertshausen).
13
+ - **Abholung:** Sie können Ihre Bestellung auch direkt bei uns abholen (Musterstraße 1, 12345 Musterstadt).
14
14
 
15
15
  ### Zahlungsmöglichkeiten
16
16
 
@@ -21,8 +21,8 @@ Wir bieten Ihnen zwei Möglichkeiten, Ihre Bestellung zu erhalten:
21
21
 
22
22
  Wir liefern ausschließlich in folgende Gebiete:
23
23
 
24
- - **63179 Obertshausen** (Stadtteile Obertshausen und Hausen)
25
- - **63165 Mühlheim** (Stadtteil Lämmerspiel)
24
+ - **12345 Musterstadt** (Stadtteile Musterstadt und Nebenort)
25
+ - **12346 Beispieldorf**
26
26
 
27
27
  ### Lieferkosten
28
28
 
@@ -71,7 +71,7 @@ This is a step toward the multi-platform goal: only the seeding in
71
71
  - `AnimatedSection` renders product cards with `opacity-0` in SSR HTML
72
72
  (IntersectionObserver reveals them post-mount) — content invisible without
73
73
  JS; potential SEO/CLS concern. → suggested issue
74
- - `Header/Right.vue` hardcodes the phone number `tel:+49610471427` in the
74
+ - `Header/Right.vue` hardcodes the phone number `tel:+49123456789` in the
75
75
  base layer — should come from config for multi-tenant demo shops.
76
76
  → suggested issue
77
77
  - The 16 home-page mismatches from the RUM data were **not** reproducible
@@ -4,7 +4,7 @@ Date: 2026-09-08, reduced to the remaining delta on 2026-09-10. Branch `fix/issu
4
4
 
5
5
  ## Re-verified (2026-09-08)
6
6
 
7
- Live probe on pizzeria-lafattoria.de:
7
+ Live probe on the customer shop:
8
8
 
9
9
  | URL | Result |
10
10
  | ------------ | ----------------------------------------- |
@@ -53,7 +53,7 @@ note of #277 on why a project composable must not share a layer name).
53
53
 
54
54
  ## Verification
55
55
 
56
- Production build against the La Fattoria Store API: `/c/Fisch/` 200,
56
+ Production build against the customer Store API: `/c/Fisch/` 200,
57
57
  `/c/fisch/`, `/c/fisch`, `/c/FISCH` and `/c/Pizza` → 301 to the SEO URL,
58
58
  `/c/Fisch?properties=x` → 301 `/c/Fisch/?properties=x`, unknown paths 404.
59
59
  Playwright: direct load, link navigation, client-side redirect and back