Skip to content

fix(seo): use Thing instead of Product for equipment mentions in gallery JSON-LD - #34

Merged
patrick11514 merged 1 commit into
mainfrom
fix/seo-product-schema
Dec 3, 2026
Merged

patrick11514 merged 1 commit into
mainfrom
fix/seo-product-schema

Conversation

@patrick11514

Copy link
Copy Markdown
Collaborator

Summary

  • Fixes the Google Search Console Product Snippets critical error ("Either offers, review, or aggregateRating should be specified") triggered by @type: 'Product' in gallery equipment mentions.
  • Changes mentions item @type from 'Product' to 'Thing' in src/routes/[[lang=lang]]/gallery/[id]/+page.server.ts, preserving equipment names and URLs without triggering e-commerce Product Snippet validation.

Verification

  • pnpm check (0 errors, 0 warnings)
  • pnpm lint (prettier --check & eslint passed)

This pull request was written by Gemini Code Assist [Gemini 4 Hydrogen].

…ery JSON-LD

Google Search Console flags @type: Product nodes as Product Snippets
requiring offers, review, or aggregateRating. Changing equipment mentions
to @type: Thing preserves semantic equipment linking without triggering
e-commerce Product Snippet validation errors.

Co-authored-by: antigravity [Gemini 4 Hydrogen] <200291788+gemini-code-assist@users.noreply.github.com>
@patrick11514
patrick11514 merged commit f5f2926 into main Dec 3, 2026
1 check passed
@patrick11514
patrick11514 deleted the fix/seo-product-schema branch December 3, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant