#1462·commerce

useSearchParams issue on every product page

Author: fsegouinCreated May 26, 2025Updated Jul 26, 2026

Hi there, I am getting this error in the Vercel logs as soon as I navigate to a product page and try to interact with it, like selecting a variant or adding to the cart. I haven't done much more than clone the project and connect it to my Shopify account.

⨯ useSearchParams() should be wrapped in a suspense boundary at page "/product/[handle]". Read more: https://nextjs.org/docs/messages/missing-suspense-with-csr-bailout

⨯ Error: Bail out to client-side rendering: useSearchParams()
    at o (.next/server/chunks/382.js:13:7951)
    at d (.next/server/chunks/382.js:13:31391)
    at s (.next/server/app/product/[handle]/page.js:1:18850) {
  reason: 'useSearchParams()',
  digest: 'BAILOUT_TO_CLIENT_SIDE_RENDERING',
  page: '/product/test'
}

Node.js process exited with exit status: 1. The logs above can help with debugging the issue.

Is this a known issue? Thanks!