commerce
commerce copied to clipboard
Next.js Commerce
I've found that when using the Next.js Commerce integration with BigCommerce, the site never displays more than 12 products on any page or category, despite the category/page having more than...
Hi, I couldn't find solution for my vscode linter errors in framework directory about @commerce'path imports. For example in framework/swell/auth/use-logout.tsx these imports are underscorred ``` import type { MutationHook }...
https://developer.bigcommerce.com/api-reference/storefront/storefront-subscriptions/subscription/postsubscriptions
It's currently not fun to work with commerce types, specially for the API setup, most commerce types come from a generic named `Provider`, which is defined by every provider. Initially...
Right now every single endpoint under `pages/api` has the same code but points to a different file, we should be able to remove those files from the repo and create...
You can read more about why we want to do this here: https://github.com/vercel/commerce/issues/429 All our core types include a TS generic that has the base types that might be used...
Our site types currently are `Category` and `Brand`, which are defined here: [framework/commerce/types/site.ts](https://github.com/vercel/commerce/blob/main/framework/commerce/types/site.ts), the `brand` type is currently set to `any` and that has to change, currently defined fields are...
Our Wishlist type is currently set to `any` and is defined here: [framework/commerce/types/wishlist.ts](https://github.com/vercel/commerce/blob/main/framework/commerce/types/wishlist.ts). Similar to our other core types, we need to have it defined to a shape that can...
The product schema defined in [framework/commerce/types/product.ts](https://github.com/vercel/commerce/blob/main/framework/commerce/types/product.ts) doesn't have any docs yet, also any updates on fields that might be missing for current or future features are welcome! Every field defined...
Our current checkout type is set to `any` and is defined here: [framework/commerce/types/checkout.ts](https://github.com/vercel/commerce/blob/main/framework/commerce/types/checkout.ts). We need to have it defined to a shape that can work with any e-commerce provider we...