Skip to content

fix(BUY-61559): Add disclaimer to laptop-singapore editor summary table#209

Open
BuyWhere wants to merge 2 commits into
mainfrom
fix/BUY-61559-laptop-sg-disclaimer
Open

fix(BUY-61559): Add disclaimer to laptop-singapore editor summary table#209
BuyWhere wants to merge 2 commits into
mainfrom
fix/BUY-61559-laptop-sg-disclaimer

Conversation

@BuyWhere

Copy link
Copy Markdown
Owner

Summary

Adds an optional comparisonDisclaimer field to the editor summary table to clarify that editorial picks may not all appear in the live catalog.

Problem

The "Popular laptop picks at a glance" table on /laptop-singapore showed 5 hardcoded models with S$ prices, but 4 of those models (ASUS Zenbook 14 OLED, Lenovo Yoga 7i, Acer Swift Go 14, Dell XPS 14) did not appear in the live product cards above the table. Only the MacBook Air M3 matched.

This was confusing for shoppers who could not find the advertised models in the live results.

Fix

  • Added optional comparisonDisclaimer?: string to SeoLandingPageConfig
  • Renders the disclaimer below the comparison section heading when present
  • Set comparisonDisclaimer for laptop-singapore to:

    Editor's picks — not all models may appear in the live results above. Prices shown are reference prices and may differ from live listings.

Files changed

  • src/lib/seo-landing-pages.ts — config type + laptop-singapore entry
  • src/components/seo/SeoLandingPage.tsx — renders disclaimer when present

Testing

  • Zero TypeScript errors (tsc --noEmit pre-existing infra errors only)
  • Optional field — other landing pages unaffected
  • PR targets main for Railway auto-deploy

Add the existing HomeProductSearch component to the homepage hero
section so users can search products directly from the main entry
point instead of having to navigate to /search.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
Adds optional comparisonDisclaimer field to SeoLandingPageConfig.
Renders disclaimer text below the comparison section heading.
Sets disclaimer for laptop-singapore to clarify editorial picks
may not match live catalog results.
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.

2 participants