1287 Commits

Author SHA1 Message Date
Bel Curcio
a17e0f8309 Merge branch 'master' of https://github.com/vercel/commerce into custom-checkout 2021-06-14 17:43:09 -03:00
ghoskin
4d85b43a30
Update Swell Provider (#359)
* fix update cart item

* update types

* update checkout

* update get-page, cleanup types

* revert change to incorrect file

* cleanup

Co-authored-by: Greg Hoskin <greghoskin@Gregs-MacBook-Pro.local>
2021-06-14 17:37:18 -03:00
Tobias Koppers
a9d02ec251 use local provider in tsconfig.js 2021-06-14 21:49:10 +02:00
Tobias Koppers
d2688df15f Merge branch 'local-provider' into custom-checkout 2021-06-14 21:19:18 +02:00
Tobias Koppers
de575f7a80 add a tsconfig.js file 2021-06-14 20:48:35 +02:00
Tobias Koppers
e5d7a143db make type import explicit 2021-06-14 20:32:21 +02:00
Tobias Koppers
f8fca2dd4d allow requests in getStaticProps to execute in parallel 2021-06-14 20:32:21 +02:00
Tobias Koppers
d23da23dc0 rewrite search rewrites to multiple pages 2021-06-14 20:32:21 +02:00
Tobias Koppers
e96ea5ffbe add missing @ to css import 2021-06-14 20:32:21 +02:00
Bel Curcio
cbcc53e342 default to local if no env available 2021-06-14 15:10:25 -03:00
Bel Curcio
d84dc0bad6 default to local if no env available 2021-06-14 14:49:04 -03:00
Bel Curcio
d44acc8dde Merge branch 'custom-checkout' of https://github.com/vercel/commerce into local-provider 2021-06-14 14:41:57 -03:00
Bel Curcio
69a62204a1 Removed react-ticker 2021-06-14 14:38:35 -03:00
Bel Curcio
f769a3531b Changes 2021-06-11 14:13:43 -03:00
Bel Curcio
c74c4b0e07 More updates 2021-06-11 13:57:59 -03:00
Bel Curcio
4784daad80 Working view of a LocalProvider 2021-06-11 13:50:37 -03:00
Bel Curcio
6de60ce29c Working local 2021-06-11 12:01:51 -03:00
Bel Curcio
23b69ec442 Adding Local Provider 2021-06-10 18:09:22 -03:00
Bel Curcio
5ce1ee7aba Empty SWRhooks 2021-06-10 17:27:50 -03:00
Bel Curcio
dd28712e51 changes 2021-06-10 16:44:34 -03:00
Bel Curcio
dd9b913f6d Merge branch 'custom-checkout' of https://github.com/vercel/commerce into local-provider 2021-06-10 16:28:42 -03:00
Bel Curcio
ada97e52b6 Only images for the drop 2021-06-10 12:29:46 -03:00
Bel Curcio
9c647b856f New productTag 2021-06-10 11:57:20 -03:00
Bel Curcio
9039a27f99 Progress with LocalProvider 2021-06-10 10:51:42 -03:00
Luis Alvarez
ddd4631ade Exclude prop 2021-06-10 01:52:09 -05:00
Jakub Neander
3b2bf654fe
Updated Saleor Provider (#356)
* Initial work, copied from the Shopify provider

* Added basis setup and type generation for the products queries

* refactor: adjust the types

* task: relax the Node.js constraint

* fix: page/product properties

* disable unknown fields

* mention Saleor in the README

* setup debugging for Next.js

* Check nextjs-commerce bug if no images are added for a product

* fix: client/server pecularities for env visibility

Must prefix with `NEXT_PUBLIC_` so that the API URL is
visible on the client

* re: make search work with Saleor API (WIP)

* task: update deps

* task: move to Webpack 5.x

* saleor: initial cart integration

* update deps

* saleor: shall the cart appear!

* task: remove deprecated packages

* saleor: adding/removing from the cart

* saleor: preliminary signup process

* saleor: fix the prices in the cart

* update deps

* update deps

* Added the options for a variant to the product page

* Mapped options to variants

* Mapped options to variants

* saleor: refine the auth process

* saleor: remove unused code

* saleor: handle customer find via refresh

temporary solution

* saleor: update deps

* saleor: fix the session handling

* saleor: fix the variants

* saleor: simplify the naming for GraphQL statements

* saleor: fix the type for collection

* saleor: arrange the error codes

* saleor: integrate collections

* saleor: fix product sorting

* saleor: set cookie location

* saleor: update the schema

* saleor: attach checkout to customer

* saleor: fix the checkout flow

* saleor: unify GraphQL naming approach

* task: update deps

* Add the env variables for saleor to the template

* task: prettier

* saleor: stub API for build/typescript compilation

thanks @cond0r

* task: temporarily disable for the `build`

* saleor: refactor GraphQL queries

* saleor: adjust the config

* task: update dependencies

* revert: Next.js to `10.0.9`

* saleor: fix the checkout fetch query

* task: update dependencies

* saleor: adapt for displaying featured products

* saleor: update the provider structure

* saleor: make the home page representable

* feature/cart: display the variant name (cond)

Co-authored-by: Patryk Zawadzki <patrys@room-303.com>
Co-authored-by: royderks <10717410+royderks@users.noreply.github.com>
2021-06-10 01:46:28 -05:00
Bel Curcio
e752555e02 Adding Assets 2021-06-09 16:44:56 -03:00
Bel Curcio
e6f3bcbc7b Adding Assets 2021-06-09 13:53:32 -03:00
Bel Curcio
a0e8f16c1b Removing Toast 2021-06-09 12:22:30 -03:00
Bel Curcio
7a9ed2ad91 Adding 404 with Layout 2021-06-09 12:22:03 -03:00
Bel Curcio
685fb932db Adding revalidate to search - categories change too 2021-06-09 09:39:32 -03:00
Bel Curcio
5b2155a556 Changing 2021-06-09 09:34:32 -03:00
Luis Alvarez
6e2d9a37ce Fix scrollbar 2021-06-08 18:37:11 -05:00
Luis Alvarez
8940c7d3e7 Merge branch 'custom-checkout' of https://github.com/vercel/commerce into custom-checkout 2021-06-08 18:04:26 -05:00
Luis Alvarez
3c640a5bca hide album scroll on windows 2021-06-08 18:04:12 -05:00
Luis Alvarez
b4eba53be0 Fixed image issue 2021-06-08 17:48:34 -05:00
Bel Curcio
600248f671 Index revalidate 2021-06-08 14:29:44 -03:00
Luis Alvarez
cd182f8c59 Merge branch 'custom-checkout' of https://github.com/vercel/commerce into custom-checkout 2021-06-08 11:22:10 -05:00
Luis Alvarez
6442c8017e Make sure to only refresh navbar and modals when required 2021-06-08 11:19:49 -05:00
Bel Curcio
6656fe4878 Search issue ui 2021-06-08 13:06:23 -03:00
Bel Curcio
e46036a3e6 Search issue ui 2021-06-08 12:58:13 -03:00
Bel Curcio
f2c4ff32b5 changes 2021-06-08 12:30:22 -03:00
Bel Curcio
1c7caf3f99 Fade to the Nametags in the ProductCard 2021-06-08 11:57:51 -03:00
Bel Curcio
dfbca746b2 More perf changes 2021-06-08 11:48:55 -03:00
Bel Curcio
7ef0e2273e Perf changes 2021-06-08 11:31:48 -03:00
Bel Curcio
1a729f9e72 More Changes 2021-06-07 18:23:52 -03:00
Bel Curcio
5c79f7a8fd Changes 2021-06-07 18:18:43 -03:00
cond0r
2d0c6e0c8a
Add blocking fallback to pages (#357)
* Update [...pages].tsx

* Fix provider config overwrite

* Shopify changes
2021-06-07 17:12:20 -03:00
Bel Curcio
a314148ad1 LoadingDots Working (: 2021-06-07 16:08:06 -03:00
Bel Curcio
633fd0c98d Scroll for Mobile on IOs devises 2021-06-07 14:31:42 -03:00