122 Commits

Author SHA1 Message Date
Sol Irvine
b030aaac2b Update add-many-to-cart.tsx 2023-10-09 16:28:41 +09:00
Sol Irvine
bc3db70bd9 revert for japan-first settings 2023-10-08 21:36:08 +09:00
Sol Irvine
0f32b04281 fix: Reverse localization issues 2023-10-08 15:32:09 +09:00
Sol Irvine
974300c4a2 switch default language 2023-09-15 00:11:36 -04:00
Sol Irvine
7e99ad1711 fix issue with "add many to cart" widget 2023-09-06 17:03:47 -07:00
Sol Irvine
ecebff19bb implementing comments 2023-09-06 16:45:37 -07:00
Sol Irvine
57fcc26a29 small fixes 2023-09-06 15:38:52 -07:00
Sol Irvine
a6c6531ff1 refinements to age gat 2023-09-06 14:23:31 -07:00
Sol Irvine
4ea6480d52 Update modal.tsx 2023-09-06 14:01:02 -07:00
Sol Irvine
1a9f6bb802 Update modal.tsx 2023-09-06 13:52:30 -07:00
Sol Irvine
8c194a6ca1 fix: Mailchimp signups
Also, inline age check
2023-09-06 13:38:48 -07:00
Sol Irvine
5c7133319d linting 2023-09-06 12:40:14 -07:00
Sol Irvine
02ab16d266 fix: Age gate 2023-09-06 12:27:16 -07:00
Sol Irvine
725a43505a fix: Add promoted item to cart 2023-09-01 14:54:27 -07:00
Sol Irvine
7bf920ccc0 fix: Revert issues with cart localization 2023-09-01 02:32:21 -07:00
Sol Irvine
f1bd230b81 cleanup 2023-09-01 02:23:12 -07:00
Sol Irvine
24ccf5073e wip: Saving work 2023-09-01 01:27:13 -07:00
Sol Irvine
5f664a03c3 fix: Localize cart 2023-08-31 20:59:02 -07:00
Sol Irvine
b7d78faaf0 wip: Saving work 2023-08-31 20:06:14 -07:00
Sol Irvine
746e707290 yolo: height of inline add to cart button fixed 2023-08-24 12:22:27 -07:00
Sol Irvine
c789a85a2c fix issue with AddManyToCart props 2023-08-24 11:16:30 -07:00
Sol Irvine
a201608849 updates from alisa 2023-08-24 11:12:57 -07:00
Sol Irvine
4ea96cc6e5 add multiple items to cart at once 2023-08-24 09:59:14 -07:00
Sol Irvine
41c05838e7 linting 2023-08-24 01:54:31 -07:00
Sol Irvine
d9838f8807 fix: Add to cart buttons on homepage 2023-08-23 23:24:03 -07:00
Sol Irvine
0739e200f0 Update add-to-cart.tsx 2023-08-21 09:34:02 +09:00
Sol Irvine
bd2906de25 feat: Age gate 2023-08-20 15:22:46 +09:00
Sol Irvine
4c20ed4361 wip: Saving work 2023-08-20 14:34:30 +09:00
Sol Irvine
6de73e3ff2 wip: Saving work 2023-08-20 09:55:09 +09:00
Sol Irvine
097cb83568 wip: Product detail view 2023-08-19 17:18:45 +09:00
Sol Irvine
9fd61a8dfc main menu added 2023-08-13 15:20:18 +09:00
Sol Irvine
d4ea4ac8d2 top section complete 2023-08-13 13:39:20 +09:00
Lee Robinson
faa7491a55
Better error handling. (#1150) 2023-08-04 22:21:57 -05:00
Michael Novotny
9c813577e1
Optimizes image sizes (#1140) 2023-08-02 21:07:35 -05:00
Kanji Yomoda
45afbc548e
Fix typo in a comment (#1130) 2023-07-31 07:47:02 -05:00
Michael Novotny
7ae036b385
Fixes add to cart for products with a single variant (#1127) 2023-07-30 11:18:31 -07:00
Lee Robinson
cd8f4c6b4c
Fix hydration error (#1117)
---------

Co-authored-by: Michael Novotny <manovotny@gmail.com>
2023-07-28 15:00:48 -07:00
Michael Novotny
69a68dd408
Fixes Lighthouse accessibility issues (#1112)
Co-authored-by: Lee Robinson <lrobinson2011@gmail.com>
2023-07-25 10:40:39 -07:00
Michael Novotny
37d7522d87
Fixes currency code not showing on product detail page and in cart (#1104) 2023-07-25 06:13:53 -07:00
Lee Robinson
59fc2bc2e9
Update to new design. (#1103) 2023-07-24 19:40:29 -07:00
Michael Novotny
8c8240956a
Removes Framer Motion (#1055) 2023-06-21 15:13:58 -07:00
Michael Novotny
9678306b23
Fixes cart closing and reopening with first interaction (#1053)
* Works

* Adds animation back
2023-06-21 13:13:10 -07:00
Michael Novotny
585b3bbff8
Replaces Route Handlers with Server Actions (#1050) 2023-06-17 11:18:00 -07: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
Luis Alvarez D
0afe686fe9
Monorepo with Turborepo (#651)
* Moved everything

* Figuring out how to make imports work

* Updated exports

* Added missing exports

* Added @vercel/commerce-local to `site`

* Updated commerce config

* Updated exports and commerce config

* Updated commerce hoc

* Fixed exports in local

* Added publish config

* Updated imports in site

* It's actually working

* Don't use debugger in dev for better speeds

* Improved DX when editing packages

* Set up eslint with husky

* Updated prettier config

* Added prettier setup to every package

* Moved bigcommerce

* Moved Bigcommerce to src and package updates

* Updated setup of bigcommerce

* Moved definitions script

* Moved commercejs

* Move to src

* Fixed types in commercejs

* Moved kibocommerce

* Moved kibocommerce to src

* Added package/tsconfig to kibocommerce

* Fixed imports and other things

* Moved ordercloud

* Moved ordercloud to src

* Fixed imports

* Added missing prettier files

* Moved Saleor

* Moved Saleor to src

* Fixed imports

* Replaced all imports to @commerce

* Added prettierignore/rc to all providers

* Moved shopify to src

* Build shopify in packages

* Moved Spree

* Moved spree to src

* Updated spree

* Moved swell

* Moved swell to src

* Fixed type imports in swell

* Moved Vendure to packages

* Moved vendure to src

* Fixed imports in vendure

* Added codegen to saleor

* Updated codegen setup for shopify

* Added codegen to vendure

* Added codegen to kibocommerce

* Added all packages to site's deps

* Updated codegen setup in bigcommerce

* Minor fixes

* Updated providers' names in site

* Updated packages based on Bel's changes

* Updated turbo to latest

* Fixed ts complains

* Set npm engine in root

* New lockfile install

* remove engines

* Regen lockfile

* Switched from npm to yarn

* Updated typesVersions in all packages

* Moved dep

* Updated SWR to the just released 1.2.0

* Removed "isolatedModules" from packages

* Updated list of providers and default

* Updated swell declaration

* Removed next import from kibocommerce

* Added COMMERCE_PROVIDER log

* Added another log

* Updated turbo config

* Updated docs

* Removed test logs

Co-authored-by: Jared Palmer <jared@jaredpalmer.com>
2022-02-01 14:14:05 -05:00
Gonzalo Pozzo
ea1bbcf1bb
Fix cart item image error (#600) 2021-12-09 16:41:29 +01:00
Vinicius Zucatti
c440ff06d4
Fix next/link should be used with anchor as children #330 (#482) 2021-09-23 17:32:17 -05:00
Luis Alvarez D
0e7e7b7d5f
Add Next.js ESLint (#425)
* Added Next.js eslint

* added eslint to lint-staged

* Added eslint config for prettier

* Fixed eslint issues in multiple files

* Fixed error in linter
2021-08-02 21:54:58 -05:00