20 Commits

Author SHA1 Message Date
Victor Gerbrands
749f20c144 Merge remote-tracking branch 'upstream/main' into update-main 2023-08-07 14:18:46 +02:00
Michael Novotny
9c813577e1
Optimizes image sizes (#1140) 2023-08-02 21:07:35 -05:00
Kanji Yomoda
10b1d4bbae
Renames confusing variable name (#1131) 2023-07-31 08:30:00 -05:00
Lee Robinson
59fc2bc2e9
Update to new design. (#1103) 2023-07-24 19:40:29 -07:00
Victor Gerbrands
0746762fe8 fix: merge issues 2023-06-28 15:30:23 +02:00
Victor Gerbrands
2d75399870 Merge remote-tracking branch 'upstream/main' into update-main 2023-06-28 15:01:53 +02:00
Michael Novotny
585b3bbff8
Replaces Route Handlers with Server Actions (#1050) 2023-06-17 11:18:00 -07:00
Lee Robinson
fecc60eb36
Update dependencies and fix TS errors. (#1041) 2023-06-06 20:36:44 -05:00
Abhushan A. Joshi
30a080182c
Adds a basic product JSON-LD schema on product details page. (#1016) 2023-05-22 12:04:27 -05:00
Victor Gerbrands
2c6c984ede fix: rm redundant revalidation from pdp 2023-05-12 14:45:09 +02:00
Victor Gerbrands
2f4a6d2177 fix: add revalidate 2023-05-11 15:11:59 +02:00
Victor Gerbrands
10381c0110 fix: remove seo attributes from pdp 2023-05-04 15:00:40 +02:00
Victor Gerbrands
28c0fe95ed refactor: remove console.logs 2023-05-04 14:19:46 +02:00
Victor Gerbrands
c4ab3aba8d feat: reshape products 2023-05-03 10:55:45 +02:00
Victor Gerbrands
3ab0bd18d0 refactor: replace shopify imports 2023-05-02 15:42:35 +02:00
olivermrbl
0f4f5a79df Initial commit 2023-05-01 14:57:22 +02:00
Michael Novotny
8ff670d7d6
Fixes quirks with featured and related products. (#978) 2023-04-21 12:19:08 -04:00
Michael Novotny
7de3ae5583
Removes unnecessary async on ProductGridItems (#977) 2023-04-20 13:54:04 -05:00
Stephanie Dietz
acb4ff400b
Updates recommended products to use ProductGridItems component (#975) 2023-04-20 11:27:18 -05:00
Lee Robinson
fd9450aecb
Next.js Commerce refresh. (#966)
We're making some updates to Next.js Commerce. Everything prior to this commit marks what we're calling [`v1`](https://github.com/vercel/commerce/releases/tag/v1) as a point in time to be able to reference and still use going into the future. The current architecture of Commerce is a multi-vendor, interoperable solution, including:

- [Shopify](https://shopify.vercel.store/)
- [Swell](https://swell.vercel.store/)
- [BigCommerce](https://bigcommerce.vercel.store/)
- [Vendure](https://vendure.vercel.store/)
- [Saleor](https://saleor.vercel.store/)
- [Ordercloud](https://ordercloud.vercel.store/)
- [Spree](https://spree.vercel.store/)
- [Kibo Commerce](https://kibocommerce.vercel.store/)
- [Commerce.js](https://commercejs.vercel.store/)
- [SalesForce Cloud Commerce](https://salesforce-cloud-commerce.vercel.store/)

All features can be toggled on or off, and it's easy to change between commerce providers. To support this, we needed to create a ["commerce metaframework"](d1d9e8c434/packages/commerce/new-provider.md) where providers could confirm to an API spec to add support for Next.js Commerce. While this worked and was successful for `v1`, we have different design goals and ambitions for `v2`.

**What You Need To Know**

- `v1` will not be updated moving forward. If you need to reference `v1`, you will still be able to clone and deploy the version tagged at this release.
- `v2` will be shifting to be a single provider vs. provider agnostic. Other providers are welcome to fork this repository and swap out the underlying `lib/` implementation that connects to the selected commerce provider (Shopify). This architecture was chosen to reduce the surface area of the codebase, remove the intermediate metaframework layer for provider-interoperability, and enable usage with the latest Next.js and React features.
- We will be sharing more about `v2` in the future as we continue to iterate before the marked release.
2023-04-17 22:00:47 -05:00