getProductHandles
getProductHandles(
max?):Promise<string[]>
Defined in: @storesynk/astro/dist/runtime.d.ts:118
All product handles in the store (cursor-paginated), for static route generation:
export async function getStaticPaths() { return (await getProductHandles()).map((handle) => ({ params: { handle } })); }
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<string[]>