Skip to content

docs: rewrite PDP page as tone baseline#448

Merged
laugharn merged 23 commits into
mainfrom
docs-rewrites
Jul 15, 2026
Merged

docs: rewrite PDP page as tone baseline#448
laugharn merged 23 commits into
mainfrom
docs-rewrites

Conversation

@laugharn

Copy link
Copy Markdown
Collaborator

Rewrites the PDP anatomy doc as the first of a series of docs rewrites, establishing a tighter baseline tone.

What changed

Rewrote apps/docs/content/docs/anatomy/pages/pdp.mdx:

  • Opening — one sentence on what a PDP is.
  • The big bets — two tight paragraphs: static-first rendering (ISR/Cache Components) and variant selection via searchParams. Cut the deep internals (promise threading, getProductVariant, buildOptionUrl, no-default-fallback detail).
  • Out of the box — bold feature name + one-sentence explainer for each feature, replacing the verbose subsections.
  • Gating note — corrected: only the quantity picker, Buy with Shop, bundles, complementary products, and related products are toggled under pdp in shop.config.ts (the picker, gallery, add-to-cart, and structured data have no toggle).
  • Removed — buy-section row measurements, layout column breakdown, and the closing "browse the directory" line.

More docs to follow once this baseline lands.

@vercel

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
shop-docs Ready Ready Preview, Comment Jul 15, 2026 5:11pm
shop-template Ready Ready Preview, Comment, Open in v0 Jul 15, 2026 5:11pm

@laugharn laugharn marked this pull request as ready for review July 15, 2026 18:00
@laugharn laugharn merged commit 3e80f44 into main Jul 15, 2026
5 checks passed
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