590 Commits

Author SHA1 Message Date
Michael Novotny
c6eb7a30f9
Changes variants to use router replace (#1157) 2023-08-08 10:00:08 -05:00
Lee Robinson
faa7491a55
Better error handling. (#1150) 2023-08-04 22:21:57 -05:00
Michael Novotny
c3f3936732
Changes footer source button to deploy button (#1151) 2023-08-04 20:19:52 -05:00
Michael Novotny
a11b6ad83b
Fixes long product card titles (#1149) 2023-08-04 17:05:45 -05:00
Michael Novotny
36360a5fc3
Adjusts product card titles for better Lighthouse score (#1147)
* Adjusts product card titles for better Lighthouse score

* line-clamp
2023-08-04 16:52:05 -05:00
Michael Novotny
469cd7bffd
Fixes sort by hover (#1146) 2023-08-04 10:59:12 -05:00
Michael Novotny
ef92d578cd
Adds more home page carousel products for wide screens (#1142) 2023-08-03 21:17:02 -05:00
Michael Novotny
9044baf44e
Removes priority on third grid item on home page (#1143) 2023-08-03 19:02:51 -05:00
Emir Morgan
80bb15a7dc
Disable scrolling to the top when switching between gallery images with arrow buttons (#1139) 2023-08-03 16:04:44 -05:00
Michael Novotny
9c813577e1
Optimizes image sizes (#1140) 2023-08-02 21:07:35 -05:00
Michael Novotny
0f700e2d07
Small visual tweaks. (#1137) 2023-08-02 09:04:44 -05:00
Michael Novotny
71c9cb96fa
Uses url instead of setState for image gallery (#1133) 2023-08-01 20:18:56 -05:00
Michael Novotny
36b28b4aab
Makes search a bit wider on wider screens (#1128)
Co-authored-by: Lee Robinson <lrobinson2011@gmail.com>
2023-07-31 07:18:50 -07:00
Michael Novotny
455a7327f3
Fixes mobile tap targets (#1129)
Co-authored-by: Lee Robinson <lrobinson2011@gmail.com>
2023-07-31 07:09:56 -07: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
1449489c3c
Fixes copyright spacing on medium screens (#1122)
Co-authored-by: Lee Robinson <lrobinson2011@gmail.com>
2023-07-28 14:59:27 -07:00
Kai Hao
049d903a5b
Removes unnecessary useEffect's on search sorts (#1124) 2023-07-28 11:19:13 -05:00
Michael Novotny
61b134a66c
Revert "Update variant-selector.tsx (#1115)" (#1116)
This reverts commit 7dc7e6d6e45facc0a7b3ed1816ea123fa6aac84e.
2023-07-25 13:42:51 -07:00
Tim Neutkens
7dc7e6d6e4
Update variant-selector.tsx (#1115) 2023-07-25 13:23:05 -07:00
Michael Novotny
6342808f94
Removes bold from footer store name (#1111)
Co-authored-by: Lee Robinson <lrobinson2011@gmail.com>
2023-07-25 10:42: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
fa4c0fb8b8
Fixes cart icon inconsistent size (#1110) 2023-07-25 19:21:12 +02:00
Michael Novotny
29aaa8cac6
Disables link scroll on variant selection (#1109)
* Disables link scroll on variant selection

* Fix TS error
2023-07-25 09:00:31 -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
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
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
Logan
7eb8816854
Fixed misaligned navbar links (#1048) 2023-06-16 13:50:10 -05:00
Michael Novotny
87c385fcd6
Converts to Opengraph Image file convention. (#1043) 2023-06-07 20:57:31 -05:00
Lee Robinson
fecc60eb36
Update dependencies and fix TS errors. (#1041) 2023-06-06 20:36:44 -05:00
Michael Novotny
f5dade74fb
Fixes search page bugs. (#1019) 2023-05-12 16:02:51 -07:00
Michael Novotny
a0c0d10fae
Changes mobile menu animation to be consistent with cart animation. (#1015) 2023-05-11 12:53:04 -07: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
af21b29b73
Disables Add to Cart while mutating (#987) 2023-04-25 09:38:47 -05: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
Stephanie Dietz
a677c17f78
Update canary version to fix scroll to top. (#976) 2023-04-20 10:40:29 -05: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
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
Alessandro Casazza
de24bd041c
fix: Render item in wishlist properly if ID is a string (#647) 2022-01-16 10:58:26 -03:00
B
f3cdbe682b
Bump (#642)
* Packages Bump

* Code Updated

* More API Changes

* Working updates

* Updated Tailwind Config

* SWR API updates

* More changes

* Commercejs Types

* Commercejs Types

* Commercejs Types
2022-01-13 15:30:14 +01:00
Michael
4b2df2242c
Fixes issue with next/dynamic when running next version > 12.0.3 (#618)
Co-authored-by: mdupree <mdupree@acromedia.com>
2021-12-22 13:19:27 -03:00
Lars Salling
98af5f4615
Remove unnecessary check in the Sidebar component (#606)
* refactor: remove unneccessary code

* refactor: remove excessive function call in modal

Co-authored-by: Gonzalo Pozzo <gonzalo.pozzo4@gmail.com>
2021-12-17 11:55:04 -03:00