1216 Commits

Author SHA1 Message Date
Zaiste
9ca6c38755
saleor: arrange the error codes 2021-06-09 17:02:12 +02:00
Zaiste
f4b66f2132
saleor: fix the type for collection 2021-06-09 17:02:12 +02:00
Zaiste
2fe2c71fc3
saleor: simplify the naming for GraphQL statements 2021-06-09 17:02:11 +02:00
Zaiste
42ae126b7b
saleor: fix the variants 2021-06-09 17:02:11 +02:00
Zaiste
3b559e9853
saleor: fix the session handling 2021-06-09 17:02:11 +02:00
Zaiste
e0ee2580bd
saleor: update deps 2021-06-09 17:02:11 +02:00
Zaiste
8e29a0b010
saleor: handle customer find via refresh
temporary solution
2021-06-09 17:02:11 +02:00
Zaiste
3873b48c59
saleor: remove unused code 2021-06-09 17:02:11 +02:00
Zaiste
e98a9f4d6f
saleor: refine the auth process 2021-06-09 17:02:11 +02:00
royderks
85d203e85c
Mapped options to variants 2021-06-09 17:02:10 +02:00
royderks
f7796b9683
Mapped options to variants 2021-06-09 17:02:10 +02:00
royderks
e3a9fd6c51
Added the options for a variant to the product page 2021-06-09 17:02:10 +02:00
Zaiste
c26c6889b4
update deps 2021-06-09 17:02:10 +02:00
Zaiste
31ae61885e
update deps 2021-06-09 17:02:10 +02:00
Zaiste
a8678bdecd
saleor: fix the prices in the cart 2021-06-09 17:02:10 +02:00
Zaiste
7524f5ab2e
saleor: preliminary signup process 2021-06-09 17:02:09 +02:00
Zaiste
7d80fadd82
saleor: adding/removing from the cart 2021-06-09 17:02:09 +02:00
Zaiste
2c097b0f7e
task: remove deprecated packages 2021-06-09 17:02:09 +02:00
Zaiste
34ab15bba4
saleor: shall the cart appear! 2021-06-09 17:02:09 +02:00
Zaiste
7a37bc8d4e
update deps 2021-06-09 17:02:09 +02:00
Zaiste
19445747f1
saleor: initial cart integration 2021-06-09 17:02:09 +02:00
Zaiste
ef10084e54
task: move to Webpack 5.x 2021-06-09 17:02:09 +02:00
Zaiste
5283b01f7b
task: update deps 2021-06-09 17:02:08 +02:00
Zaiste
a4cc1624c0
re: make search work with Saleor API (WIP) 2021-06-09 17:02:08 +02:00
Zaiste
65df8036ae
fix: client/server pecularities for env visibility
Must prefix with `NEXT_PUBLIC_` so that the API URL is
visible on the client
2021-06-09 17:02:08 +02:00
royderks
bbbe270842
Check nextjs-commerce bug if no images are added for a product 2021-06-09 17:02:08 +02:00
Zaiste
740192affe
setup debugging for Next.js 2021-06-09 17:02:08 +02:00
Zaiste
01243682ce
mention Saleor in the README 2021-06-09 17:02:08 +02:00
Zaiste
de1f3259f0
disable unknown fields 2021-06-09 17:02:08 +02:00
Zaiste
5402af4902
fix: page/product properties 2021-06-09 17:02:07 +02:00
Zaiste
89f6c1ce76
task: relax the Node.js constraint 2021-06-09 17:02:07 +02:00
Zaiste
1e946c8b47
refactor: adjust the types 2021-06-09 17:02:07 +02:00
royderks
b5e21a54b3
Added basis setup and type generation for the products queries 2021-06-09 17:02:07 +02:00
Patryk Zawadzki
ffe5a1c20e
Initial work, copied from the Shopify provider 2021-06-09 17:02:07 +02:00
Bel Curcio
685fb932db Adding revalidate to search - categories change too 2021-06-09 09:39:32 -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
Michael Bromley
0e804d09f9
Update Vendure provider to latest API changes (#352)
Relates to #349
2021-06-02 11:46:38 -03:00
Luis Alvarez D
a98c95d447
[WIP] Node.js provider for the API (#252)
* Adding multiple initial files

* Updated the default cart endpoint

* Fixes

* Updated CommerceAPI class for better usage

* Adding more migration changes

* Taking multiple steps into better API types

* Adding more experimental types

* Removed many testing types

* Adding types, fixes and other updates

* Updated commerce types

* Updated types for hooks now using the API

* Updated mutation types

* Simplified cart types for the provider

* Updated cart hooks

* Remove normalizers from the hooks

* Updated cart endpoint

* Removed cart handlers

* bug fixes

* Improve quantity input behavior in cart item

* Removed endpoints folder

* Making progress on api operations

* Moved method

* Moved types

* Changed the way ops are created

* Added customer endpoint

* Login endpoint

* Added logout endpoint

* Add missing logout files

* Added signup endpoint

* Removed customers old endpoints

* Moved endpoints to nested folder

* Removed old customer endpoint builders

* Updated login operation

* Updated login operation

* Added getAllPages operation

* Renamed endpoint operations to handlers

* Changed import

* Renamed operations to handlers in usage

* Moved getAllPages everywhere

* Moved getPage

* Updated getPage usage

* Moved getSiteInfo

* Added def types for product

* Updated type

* moved products catalog endpoint

* removed old catalog endpoint

* Moved wishlist

* Removed commerce.endpoint

* Replaced references to commerce.endpoint

* Updated catalog products

* Moved checkout api

* Added the get customer wishlist operation

* Removed old wishlist stuff

* Added getAllProductPaths operation

* updated reference to operation

* Moved getAllProducts

* Updated getProduct operation

* Removed old getConfig and references

* Removed is-allowed-method from BC

* Updated types for auth hooks

* Updated useCustomer and core types

* Updated useData and util hooks

* Updated useSearch hook

* Updated types for useWishlist

* Added index for types

* Fixes

* Updated urls to the API

* Renamed fetchInput to fetcherInput

* Updated fetch type

* Fixes in search hook

* Updated Shopify Provider Structure (#340)

* Add codegen, update fragments & schemas

* Update checkout-create.ts

* Update checkout-create.ts

* Update README.md

* Update product mutations & queries

* Uptate customer fetch types

* Update schemas

* Start updates

* Moved Page, AllPages & Site Info

* Moved product, all products (paths)

* Add translations, update operations & fixes

* Update api endpoints, types & fixes

* Add api checkout endpoint

* Updates

* Fixes

* Update commerce.config.json

Co-authored-by: B <curciobelen@gmail.com>

* Added category type and normalizer

* updated init script to exclude other providers

* Excluded swell and venture temporarily

* Fix category & color normalization

* Fixed category normalizer in shopify

* Don't use getSlug for category on /search

* Update colors.ts

Co-authored-by: cond0r <pinte_catalin@yahoo.com>
Co-authored-by: B <curciobelen@gmail.com>
2021-06-01 03:18:10 -05:00
cond0r
0792eabd4c
Fix missing images (#264)
Co-authored-by: B <curciobelen@gmail.com>
2021-05-31 21:34:28 -05:00
Gonzalo Pozzo
277471cd16
Update next.config.js filter (#329)
Its a little more explicit using boolean than x => x
2021-05-31 21:32:10 -05:00
John Vandivier
d71646a60d
feat: concise card code (#348) 2021-05-31 21:31:16 -05:00
B
1bc721de83
Improved Categories (#339)
* Improved Categories

* Improved Categories

* Improved Categories

* Improved Categories

* Improved Categories

* Improved Categories
2021-05-31 17:44:08 -05:00
ghoskin
84a72718d2
fix update cart item (#333)
Co-authored-by: Greg Hoskin <greghoskin@Gregs-MacBook-Pro.local>
2021-05-28 12:28:45 -03:00
Michael Bromley
925a68a78c
Fix vendure variants (#338)
* Fix variant selection in Vendure provider

* Styling of checkout placeholder in Vendure provider
2021-05-28 11:19:49 -03:00
B
60dac1654b
Better Swatch Support (#335)
* Better support for swatches

* Better support for swatches

* Fix glitch for Swatch

* Fix glitch for Swatch

* Fix glitch for Swatch
2021-05-28 10:24:06 -03:00
B
f06fe25625
Adding Vendure 2021-05-27 18:15:23 -03:00
Michael Bromley
da4371090d
Vendure provider (#223)
* Minimal list/detail views working with Vendure

* Implement useCart/useAddItem

* Implement useUpdateItem & useRemoveItem

* Implement useSearch

* Add operations codegen, tidy up

* Dummy checkout page

* Implement auth/customer hooks

* Use env var for Shop API url

* Add some documentation

* Improve error handling

* Optimize preview image size

* Fix accidental change

* Update Vendure provider to latest changes

* Vendure provider: split out gql operations, remove unused files

* Update Vendure provider readme

* Add local next.config to Vendure provider, update docs

* Update to use demo server

* Fix build errors

* Use proxy for vendure api

* Simplify instructions in Vendure readme

* Refactor Vendure checkout api handler

* Improve image quality
2021-05-27 18:06:56 -03:00
B
8fb6c7b206
Update README.md 2021-05-26 19:14:34 -03:00
B
50be2a7e6e
Removing Blog and changes in Footer (#328) 2021-05-26 18:57:03 -03:00
okbel
a84bc462d7 Jit 2021-05-26 18:32:15 -03:00