Skip to content

fix(web): correct app-store product price to $89 (#5855) - #7735

Merged
kodjima33 merged 3 commits into
mainfrom
watchdog/issue-5855-store-price
Jun 9, 2026
Merged

kodjima33 merged 3 commits into
mainfrom
watchdog/issue-5855-store-price

Conversation

@kodjima33

Copy link
Copy Markdown
Collaborator

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.99 in three places and never updated when the device price changed:

  • web/frontend/src/app/components/product-banner/types.ts — the PRODUCT_INFO.price constant rendered in all three banner variants (detail / floating / category).
  • web/frontend/src/app/apps/utils/metadata.ts — productInfo.price used for SEO structured data.
  • web/frontend/src/app/apps/[id]/page.tsx — JSON-LD Offer.price on 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-2 CTA 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.

@greptile-apps

greptile-apps Bot commented Jun 9, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This 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.

  • types.ts: PRODUCT_INFO.price updated from '$69.99' to '$89' — the display value shown in all product banner variants.
  • metadata.ts: productInfo.price updated from '69.99' to '89' — fixes the price in category-level JSON-LD structured data.
  • page.tsx: Offer.price updated from '69.99' to '89' — fixes the price in per-app-detail JSON-LD; also includes a minor ternary indentation cleanup in getPlatformLink.

Confidence Score: 4/5

The price correction is straightforward and correctly applied in all three locations; the main residual concern is that the friend-dev-kit-2 product slug in two files' JSON-LD is inconsistent with the omi-dev-kit-2 slug used across the rest of the codebase.

The three price values are all correctly updated and no logic is altered beyond the hardcoded strings. The only rough edge is that metadata.ts and page.tsx still embed a friend-dev-kit-2 URL in their structured-data output while every other page-level link has already migrated to omi-dev-kit-2; since this PR explicitly touches both files for product-info accuracy, the stale slug is easy to overlook here.

The productUrl constant in page.tsx (line 75) and productInfo.url in metadata.ts (line 106) both still use the old friend-dev-kit-2 path and would benefit from a follow-up update to omi-dev-kit-2.

Important Files Changed

Filename Overview
web/frontend/src/app/components/product-banner/types.ts Price constant updated from $69.99 to $89; no other changes. Simple, correct fix for the UI display value.
web/frontend/src/app/apps/utils/metadata.ts JSON-LD structured-data price updated from 69.99 to 89. The productInfo.url still uses the friend-dev-kit-2 slug (old) while all other site links use omi-dev-kit-2.
web/frontend/src/app/apps/[id]/page.tsx JSON-LD Offer.price updated from 69.99 to 89. The productUrl constant (line 75) still references friend-dev-kit-2 instead of omi-dev-kit-2, inconsistent with the rest of the codebase. Minor whitespace-only change to the ternary in getPlatformLink is cosmetically cleaner.

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
Loading

Comments Outside Diff (1)

  1. web/frontend/src/app/apps/[id]/page.tsx, line 75 (link)

    P2 Stale product slug in productUrl

    productUrl uses friend-dev-kit-2, which differs from the current product slug omi-dev-kit-2 used in types.ts, footer.tsx, and app-header.tsx. This URL is embedded in the Offer.url field of the JSON-LD structured data output for every app detail page, so search engines are being pointed at an outdated product path.

Reviews (1): Last reviewed commit: "fix(web): update app detail JSON-LD offe..." | Re-trigger Greptile

price: '69.99',
price: '89',
currency: 'USD',
url: 'https://www.omi.me/products/friend-dev-kit-2',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 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.

@kodjima33
kodjima33 merged commit e29ce59 into main Jun 9, 2026
2 of 3 checks passed
@kodjima33
kodjima33 deleted the watchdog/issue-5855-store-price branch June 9, 2026 18:28
@undivisible undivisible added the AI label Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants