Repository navigation
fix(web): correct app-store product price to $89 (#5855) - #7735
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Greptile SummaryThis PR corrects a hardcoded product price that was showing $69.99 instead of the current $89 in three locations: the UI product banner constant, the SEO category/app-store metadata, and the per-app JSON-LD structured data.
Confidence Score: 4/5The price correction is straightforward and correctly applied in all three locations; the main residual concern is that the The three price values are all correctly updated and no logic is altered beyond the hardcoded strings. The only rough edge is that The Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[PRODUCT_INFO in types.ts\nprice: '$89'] --> B[DetailBanner]
A --> C[FloatingBanner]
A --> D[CategoryBanner]
E[productInfo in metadata.ts\nprice: '89'] --> F[generateCategoryStructuredData\nJSON-LD Product Offer]
G[page.tsx generateStructuredData\nprice: '89'] --> H[Per-app JSON-LD\nschema:Offer]
B & C & D --> I[App Store UI\nh.omi.me/apps]
F --> J[SEO / Search Engines]
H --> J
|
| price: '69.99', | ||
| price: '89', | ||
| currency: 'USD', | ||
| url: 'https://www.omi.me/products/friend-dev-kit-2', |
There was a problem hiding this comment.
Stale product URL in SEO structured data
productInfo.url still points to friend-dev-kit-2 while the rest of the codebase (footer.tsx, app-header.tsx, and types.ts) consistently uses omi-dev-kit-2. The PR description states the CTA URL is already the current live page, but both metadata.ts (line 106) and page.tsx (line 75) still reference the old friend-dev-kit-2 slug in their JSON-LD structured data — the very data this PR is correcting for accuracy.
Bug
#5855 — the web app store (
h.omi.me/apps) shows the wrong device price ($69.99) on the product banner and in the page's structured data. Current price is $89 (verified on the live product page https://www.omi.me/products/omi-dev-kit-2).Root cause
The price was hardcoded as
69.99in three places and never updated when the device price changed:web/frontend/src/app/components/product-banner/types.ts— thePRODUCT_INFO.priceconstant rendered in all three banner variants (detail / floating / category).web/frontend/src/app/apps/utils/metadata.ts—productInfo.priceused for SEO structured data.web/frontend/src/app/apps/[id]/page.tsx— JSON-LDOffer.priceon each app detail page.Fix
Updated all three to
89. Scoped strictly to the verified-wrong value.Out of scope (intentionally not changed)
The issue also mentions "Duo Dev Kit" naming and "broken CTAs". Both are stale: the code already uses "OMI Necklace", and the
omi-dev-kit-2CTA URL is the current, live product page. Only the price was actually wrong, so only the price is changed.🤖 automated by hourly watchdog; opened for review, not merged.