Commit 20cdcc5
feat(seo): emit Product/Breadcrumb/ItemList JSON-LD on PDP and PLP (DECO-5281)
Wire the existing @decocms/apps JSON-LD components (ProductJsonLd, PLPJsonLd,
BreadcrumbJsonLd from commerce/components/JsonLd) into the PDP (ProductDetails)
and PLP (SearchResult) so Google can render rich results. Reuse only — no
custom schema builder, no framework change.
- PDP: ProductJsonLd(product) + BreadcrumbJsonLd(breadcrumbList)
- PLP: PLPJsonLd(page) + BreadcrumbJsonLd(breadcrumb)
JSON-LD is server-rendered inline; the framework forces sections eager for
crawlers, so it's present in the initial SSR HTML bots see.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 0305842 commit 20cdcc5
2 files changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
3 | 7 | | |
4 | 8 | | |
| |||
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
95 | 102 | | |
96 | 103 | | |
97 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
3 | 7 | | |
4 | 8 | | |
| |||
79 | 83 | | |
80 | 84 | | |
81 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
82 | 89 | | |
83 | 90 | | |
84 | 91 | | |
| |||
0 commit comments