Alex
18e6c36dd0
Merge remote-tracking branch 'ah100101-commerce/checkout' into checkout
2025-03-06 13:42:45 -06:00
Alex
7297c2e6ea
merge in latest next commerce changes
2025-03-06 11:10:28 -06:00
Lee Robinson
63725d82d9
Update deps
2025-02-21 12:39:31 -06:00
Lee Robinson
7f8f9ff1a3
use cache
2025-02-09 11:38:22 -06:00
Lee Robinson
88762ba1bc
Update deps
2024-12-06 08:23:35 -06:00
Lee Robinson
64ca2ac790
Update to 15 RC 2
2024-10-15 22:07:55 -05:00
Alex
12ca470288
added shadcn/ui
2024-09-04 23:17:30 -05:00
Alex
83856a4941
Squashed commit of the following:
...
commit 408d6eb7583470eb84fd0e85895f97dad864b981
Author: Alex <alex.hawley@vercel.com>
Date: Wed Sep 4 21:28:45 2024 -0500
added content
commit af62089872de543c8f741c3092f431a8b790feec
Author: Alex <alex.hawley@vercel.com>
Date: Wed Sep 4 20:43:02 2024 -0500
fixed product recommendations
commit 5c921be7b1eab4ea3b4acc922d2bde842bb0c5c8
Author: Alex <alex.hawley@vercel.com>
Date: Wed Sep 4 20:33:28 2024 -0500
fixed cart total
commit 63e150e822ab0b4f7690221ee5d1eafaaf5f930a
Author: Alex <alex.hawley@vercel.com>
Date: Wed Sep 4 20:14:47 2024 -0500
fixed update cart
commit 85bd6bee403e19c7b3f66c0d6e938a8432cee62b
Author: Alex <alex.hawley@vercel.com>
Date: Wed Sep 4 19:00:42 2024 -0500
remove unnecessary cookie usage from sfcc calls
commit 2401bed81143508993fdd403d9d5a419ac8904e5
Author: Alex <alex.hawley@vercel.com>
Date: Wed Sep 4 18:55:39 2024 -0500
fixed issue with broken getCart
commit f8cc8c3c3c1c64d7cf4b69a60ed87497ad626e65
Author: Alex <alex.hawley@vercel.com>
Date: Wed Sep 4 18:23:03 2024 -0500
updated lib/sfcc for guest tokens
commit bd6129e3ca15125c87c8186e9ff27d835fb2f683
Author: Alex <alex.hawley@vercel.com>
Date: Wed Sep 4 15:19:40 2024 -0500
added now required channel_id
commit eeb805fd11219d8512c1cadefe047019d63d4b60
Author: Alex <alex.hawley@vercel.com>
Date: Tue Sep 3 17:43:27 2024 -0500
split out scapi
commit e4f3bb1c827137245367152c1ff0401db76e7082
Author: Alex <alex.hawley@vercel.com>
Date: Tue Sep 3 16:55:11 2024 -0500
carried over sfcc work
commit 2616869f56f330f44ad3dfff9ad488eaaf1dbe51
Author: Alex <alex.hawley@vercel.com>
Date: Thu Aug 22 15:03:30 2024 -0400
initial sfcc work
2024-09-04 21:47:12 -05:00
Lee Robinson
694c5c17ba
Move to next/form
( #1369 )
2024-08-13 13:33:05 -05:00
Lee Robinson
37cb5e38da
Small cleanup.
2024-07-28 23:26:03 -05:00
Lee Robinson
9a4c995bb6
Make image, variant, and cart updates faster with useOptimistic
( #1365 )
2024-07-28 22:58:59 -05:00
Lee Robinson
ec21369389
Update dependencies. ( #1361 )
2024-07-24 14:05:34 -05:00
Lee Robinson
887d437795
Prepare for using PPR ( #1236 )
2024-04-17 21:54:09 -05:00
Lee Robinson
25ddc5e643
Update dependencies. ( #1314 )
2024-03-26 16:15:01 -05:00
Lee Robinson
2448f5201c
Upgrade to Next.js 14 ( #1224 )
2023-10-27 14:11:18 -05:00
Lee Robinson
1f47796529
Improves form submissions and updates dependencies ( #1209 )
2023-10-10 21:45:55 -05:00
Lee Robinson
faa7491a55
Better error handling. ( #1150 )
2023-08-04 22:21:57 -05:00
Michael Novotny
51dab5aee5
Updates dependencies ( #1107 )
2023-07-25 08:08:17 -07:00
Lee Robinson
59fc2bc2e9
Update to new design. ( #1103 )
2023-07-24 19:40:29 -07:00
Michael Novotny
1918c25f4a
Fixes bundle size for Hobby plan users ( #1054 )
2023-07-05 07:26:30 -07:00
Michael Novotny
8c8240956a
Removes Framer Motion ( #1055 )
2023-06-21 15:13:58 -07: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
Lee Robinson
3be4f4e6b5
Update all dependencies. ( #1005 )
2023-05-08 09:22:31 -05:00
Lee Robinson
c2b96d6e2f
Add robots.txt file + update Next version. ( #984 )
2023-04-24 09:53:56 -05:00
Michael Novotny
ee900a48e8
Updates to latest canary. ( #981 )
2023-04-21 13:35:39 -05:00
Stephanie Dietz
a677c17f78
Update canary version to fix scroll to top. ( #976 )
2023-04-20 10:40:29 -05: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
Catalin Pinte
4efa502666
Update to Next.js 13 ( #870 )
2022-12-21 09:51:55 -06:00
Catalin Pinte
c75b0fc001
Dynamic API routes ( #836 )
...
* Add dynamic API endpoints
* Add missing dependency
* Update api handlers
* Updates
* Fix build errors
* Update package.json
* Add checkout endpoint parser & update errors
* Update tsconfig.json
* Update cart.ts
* Update parser
* Update errors.ts
* Update errors.ts
* Move to Edge runtime
* Revert to local
* Fix switchable runtimes
* Make nodejs default runtime
* Update pnpm-lock.yaml
* Update handlers
* Fix build errors
* Change headers
2022-10-30 13:41:21 -05:00
Catalin Pinte
6c2610584d
Update types ( #831 )
...
* Update product types
* Cart types progress, add zod & initial schema validator
* Update normalize.ts
* Update with-schema-parser.ts
* Updated types, schemas & providers
* Fix providers after schema parse errors
* Fix paths
* More provider fixes
* Fix kibocommerce & commercejs
* Add customer updated types & fixes
* Add checkout & customer types
* Import core types only from commerce
* Update tsconfig.json
* Convert hooks interfaces to types
* Requested changes
* Change to relative paths
* Move Zod dependency
2022-10-05 09:02:29 +03:00
Catalin Pinte
11609a9e71
Upgrade dependencies & pnpm ( #785 )
...
* Updated log
* Updates to root
* Updates to pnpm
* successfully moved to pnpm
* type issue
* Local as the default provider
* Upgrade dependencies
* Revert to local
* Upgrade React
* Update node-fetch deps
* Fix types
* Ignore warnings
* Fix missing dependency
* Update pnpm-lock.yaml
* Add missing @types/cookie
* Upgrade dependencies
* Fix missing dependencies
* Update README.md
Co-authored-by: Bel Curcio <curciobel@gmail.com>
2022-09-19 08:14:49 +03:00