251 Commits

Author SHA1 Message Date
Victor Gerbrands
2d75399870 Merge remote-tracking branch 'upstream/main' into update-main 2023-06-28 15:01:53 +02:00
Michael Novotny
87c385fcd6
Converts to Opengraph Image file convention. (#1043) 2023-06-07 20:57:31 -05:00
Michael Novotny
e4fcf19321
Adds on-demand revalidation for collections and products. (#1042) 2023-06-07 19:35:51 -05:00
Michael Novotny
f5dade74fb
Fixes search page bugs. (#1019) 2023-05-12 16:02:51 -07:00
Victor Gerbrands
b6cf1704ae fix: add backend url fallback 2023-05-12 15:10:28 +02:00
Victor Gerbrands
12c466eddd fix: typo 2023-05-12 14:18:57 +02:00
Victor Gerbrands
b8f154cdf5 feat: add checkout page 2023-05-12 14:13:04 +02:00
Victor Gerbrands
d9e00ff560 fix: show variant name in cart 2023-05-12 13:13:19 +02:00
Victor Gerbrands
46395206b6 fix: remove revalidate from cart requests 2023-05-11 16:36:48 +02:00
Victor Gerbrands
cd2db81bbb feat: update footer menu 2023-05-11 16:19:49 +02:00
Victor Gerbrands
0d4c7e33fc feat: add revalidate and pub key to fetch 2023-05-11 15:39:54 +02:00
Victor Gerbrands
99abe4d8da
Merge pull request #10 from medusajs/fix/thumbnail-as-featured-img
fix: use thumbnail as featured image
2023-05-11 13:49:58 +02:00
Victor Gerbrands
1a0c2eb85c fix: use thumbnail as featured image 2023-05-11 13:46:23 +02:00
Victor Gerbrands
8d70c0cdb5 feat: add categories and menus 2023-05-10 16:47:59 +02:00
Victor Gerbrands
f739c891b0 fix: cart bugs 2023-05-09 19:16:13 +02:00
Victor Gerbrands
3da9fddad7 feat: add search and sorting 2023-05-09 14:08:35 +02:00
Victor Gerbrands
4994c029fc fix: capitalize currency code 2023-05-09 13:09:58 +02:00
Victor Gerbrands
3ec0b2485a fix: merge conflicts 2023-05-08 17:29:25 +02:00
Lee Robinson
3be4f4e6b5
Update all dependencies. (#1005) 2023-05-08 09:22:31 -05:00
Victor Gerbrands
804b76d3a2 refactor: remove more shopify references 2023-05-08 14:47:41 +02:00
Victor Gerbrands
60ab70843d fix: endpoint 2023-05-08 14:42:08 +02:00
Victor Gerbrands
2e1ca6eabc fix: some minor fixes 2023-05-05 12:57:50 +02:00
Victor Gerbrands
cce421c418 feat: price formatting 2023-05-05 12:28:12 +02:00
Victor Gerbrands
575c3a3d0b refactor: use cart.subtotal 2023-05-04 15:09:38 +02:00
Victor Gerbrands
28c0fe95ed refactor: remove console.logs 2023-05-04 14:19:46 +02:00
Victor Gerbrands
18ce43d0a4 refactor: getCollections 2023-05-04 14:17:43 +02:00
Victor Gerbrands
692ef9d8df refactor: remove shopify folder 2023-05-04 14:04:59 +02:00
Victor Gerbrands
3c091ce5f6 fix: hide hidden colections 2023-05-04 14:03:43 +02:00
Victor Gerbrands
f4a71fa67d fix: some TS issues 2023-05-04 13:57:32 +02:00
Victor Gerbrands
1971f1a7d1 fix: empty cart error 2023-05-04 13:39:19 +02:00
Victor Gerbrands
8d0f25f501 fix: cart total amounts 2023-05-04 13:37:48 +02:00
Victor Gerbrands
4d99e73f20 fix: remove line items when 0 2023-05-04 13:04:58 +02:00
Victor Gerbrands
5bcf6cb5eb fix: fix reshape function for new cart 2023-05-04 11:43:59 +02:00
Victor Gerbrands
a46f39bd4c feat: implemented most cart operations 2023-05-03 18:50:58 +02:00
Victor Gerbrands
cfe181ac41 feat: variant selector 2023-05-03 14:56:55 +02:00
Victor Gerbrands
e0e67f4270 feat: product options and variants 2023-05-03 14:01:34 +02:00
Victor Gerbrands
c4ab3aba8d feat: reshape products 2023-05-03 10:55:45 +02:00
Victor Gerbrands
1cd708309d fix: type fixes 2023-05-02 16:52:39 +02:00
Victor Gerbrands
ff8098128d fix: replace shopify error 2023-05-02 16:14:57 +02:00
Victor Gerbrands
3ab0bd18d0 refactor: replace shopify imports 2023-05-02 15:42:35 +02:00
Victor Gerbrands
7021789621 feat: add medusa endpoints and reshapers 2023-05-02 15:41:48 +02:00
Victor Gerbrands
876800aad5 feat: add medusa types 2023-05-02 15:41:12 +02:00
olivermrbl
0f4f5a79df Initial commit 2023-05-01 14:57:22 +02:00
Tobias Lins
9ea5671579
Don't fail when collections are not found (#996)
* Don't fail when collections are not found

* fix another error
2023-04-26 09:26:52 -05:00
Michael Novotny
a53ee3e3a0
Adds sitemap. (#982) 2023-04-23 13:55:25 -05:00
Michael Novotny
e3785d0269
Fixes TypeScript errors. (#980) 2023-04-21 12:56:16 -05:00
Michael Novotny
8ff670d7d6
Fixes quirks with featured and related products. (#978) 2023-04-21 12:19:08 -04:00
Michael Novotny
67a192eba8
Adds documentation on how to configure Next.js Commerce and Shopify (#974) 2023-04-20 06:46:35 -04:00
Michael Novotny
e9a26c2935
Fixes cart item button layout shift (#971) 2023-04-18 12:08: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