Skip to content

experiment(template): use Hydrogen cart proxy handler - #507

Merged
laugharn merged 2 commits into
fix/local-shopify-consent-proxyfrom
experiment/hydrogen-default-cart
Aug 19, 2026
Merged

laugharn merged 2 commits into
fix/local-shopify-consent-proxyfrom
experiment/hydrogen-default-cart

Conversation

@laugharn

Copy link
Copy Markdown
Collaborator

Summary

  • route /api/cart through Hydrogen's native cart handlers in the proxy
  • remove the BotID client declaration for cart mutations because the native handler bypasses the App Router BotID check
  • keep the existing App Router adapter in place temporarily while comparing behavior

Stack

Verification

  • git diff --check
  • pnpm --filter template exec oxlint proxy.ts lib/botid/index.ts
  • pnpm --filter template exec oxfmt --check proxy.ts lib/botid/index.ts

@vercel

vercel Bot commented Aug 19, 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 Aug 19, 2026 1:16am
shop-template Ready Ready Preview, v0 Aug 19, 2026 1:16am

@laugharn
laugharn merged commit 26058e7 into fix/local-shopify-consent-proxy Aug 19, 2026
5 checks passed
@laugharn
laugharn deleted the experiment/hydrogen-default-cart branch August 21, 2026 13:05

This branch was successfully deployed

2 active deployments
Preview – shop-docs — bf0af8d8 Deployed Aug 19, 2026 by vercel[bot]
Preview – shop-template — bf0af8d8 Deployed Aug 19, 2026 by vercel[bot]
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