Store: related products on the detail page #24

Open
opened 2026-07-25 13:45:50 +00:00 by yuris · 0 comments
Owner

Target

apps/store/app/products/[slug]/page.tsx.

Change

  • Show up to N other products of the same type (exclude the current product).
  • Reuse the product-card markup.
  • Hide the section entirely when there are no same-type siblings.

Constraints

  • Compatible with output: "export"; no new dependencies; no catalog contract change.

Acceptance

  • Detail page shows same-type suggestions.
  • The current product never links to itself.
  • Section is absent when no siblings exist.
  • Verify at http://localhost:3001/products/ via devenv up.

Non-goals

  • Recommendation scoring beyond same-type.
  • Exposing price or stock.
## Target `apps/store/app/products/[slug]/page.tsx`. ## Change - Show up to N other products of the same `type` (exclude the current product). - Reuse the product-card markup. - Hide the section entirely when there are no same-type siblings. ## Constraints - Compatible with `output: "export"`; no new dependencies; no catalog contract change. ## Acceptance - Detail page shows same-type suggestions. - The current product never links to itself. - Section is absent when no siblings exist. - Verify at http://localhost:3001/products/<slug> via `devenv up`. ## Non-goals - Recommendation scoring beyond same-type. - Exposing price or stock.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
yuris/garage#24
No description provided.