283 Commits

Author SHA1 Message Date
Luis Alvarez
8a1da45e8f Merge branch 'master' of https://github.com/vercel/commerce into nodejs-provider 2021-05-31 21:26:35 -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
cond0r
30174c597c
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>
2021-05-31 12:39:13 -05:00
Luis Alvarez
7f2a0d903a Fixes in search hook 2021-05-28 12:56:50 -05:00
Luis Alvarez
874cf9d5b3 Updated fetch type 2021-05-28 11:50:33 -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
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
okbel
5a78afcd8f Merge branch 'master' of github.com:vercel/commerce 2021-05-26 17:44:16 -03:00
okbel
508f383ed6 Merge branch 'swell' of https://github.com/swellstores/nextjs-commerce into swellstores-swell 2021-05-26 17:40:53 -03:00
B
4f3674aafa
New provider and tiny fixes. (#326)
* changes

* Adding new provider

* Adding new provider

* Adding new provider

* Adding new provider
2021-05-26 17:18:50 -03:00
Luis Alvarez
3b74f8d854 Renamed fetchInput to fetcherInput 2021-05-25 21:54:13 -05:00
Luis Alvarez
746028f25b Updated urls to the API 2021-05-25 21:53:04 -05:00
Luis Alvarez
cf9b341dc9 Fixes 2021-05-25 17:00:54 -05:00
Luis Alvarez
656a5db58d Added index for types 2021-05-25 16:03:10 -05:00
Luis Alvarez
db8218d2c7 Updated types for useWishlist 2021-05-25 15:45:27 -05:00
Luis Alvarez
0e6372cf54 Updated useSearch hook 2021-05-25 14:53:17 -05:00
Luis Alvarez
f8d69323bd Updated useData and util hooks 2021-05-25 14:19:52 -05:00
Luis Alvarez
e7980e17f5 Updated useCustomer and core types 2021-05-25 10:59:22 -05:00
Luis Alvarez
58d782b780 Updated types for auth hooks 2021-05-25 09:31:52 -05:00
Luis Alvarez
f083b7ea22 Merge branch 'master' of https://github.com/vercel/commerce into nodejs-provider 2021-05-24 19:08:43 -05:00
Luis Alvarez
4cc3613f64 Removed is-allowed-method from BC 2021-05-24 19:06:07 -05:00
Luis Alvarez
ee3e4143b9 Removed old getConfig and references 2021-05-24 19:01:27 -05:00
Luis Alvarez
a106629964 Updated getProduct operation 2021-05-24 18:39:07 -05:00
Luis Alvarez
be5d47bac3 Moved getAllProducts 2021-05-24 17:22:46 -05:00
Luis Alvarez
3fe75a2d67 Added getAllProductPaths operation 2021-05-24 16:32:45 -05:00
Luis Alvarez
29a720e75e Removed old wishlist stuff 2021-05-24 12:16:39 -05:00
Luis Alvarez
a1167e46f7 Added the get customer wishlist operation 2021-05-24 12:16:11 -05:00
Luis Alvarez
676b614bf6 Moved checkout api 2021-05-24 11:56:23 -05:00
cond0r
800ba45fae
Fetch only first 100 best selling products (#310)
* Fetch only first 250 best selling products

* Update get-all-product-paths.ts

* Update use-customer.tsx
2021-05-24 13:44:38 -03:00
Luis Alvarez
11200b3bb1 Updated catalog products 2021-05-24 09:48:59 -05:00
Luis Alvarez
2353f4b3ed Replaced references to commerce.endpoint 2021-05-23 23:25:53 -05:00
Luis Alvarez
9347c1cc21 Removed commerce.endpoint 2021-05-23 18:34:07 -05:00
Luis Alvarez
6af5794ac5 Moved wishlist 2021-05-22 22:52:21 -05:00
Luis Alvarez
564e9cfa8d moved products catalog endpoint 2021-05-21 19:49:04 -05:00
Luis Alvarez
d2abdabf8c Updated type 2021-05-21 19:04:12 -05:00
Luis Alvarez
13afbd4baf Merge branch 'master' of https://github.com/vercel/commerce into nodejs-provider 2021-05-21 19:03:48 -05:00
Luis Alvarez
779b4738ce Added def types for product 2021-05-21 19:01:00 -05:00
Luis Alvarez
f2c79d07a7 Moved getSiteInfo 2021-05-21 18:49:11 -05:00
Luis Alvarez
74a93b4900 Updated getPage usage 2021-05-21 16:14:04 -05:00
Luis Alvarez
f4e7cb51fa Moved getPage 2021-05-21 16:11:49 -05:00
Luis Alvarez
066a53d52d Renamed operations to handlers in usage 2021-05-20 21:05:56 -05:00
Luis Alvarez
35c5b1b4a3 Changed import 2021-05-20 21:04:43 -05:00
Luis Alvarez
012f4b052f Renamed endpoint operations to handlers 2021-05-20 17:55:50 -05:00
Luis Alvarez
6bcf9f9e75 Added getAllPages operation 2021-05-20 17:26:14 -05:00
Luis Alvarez
4412d8e66c Updated login operation 2021-05-20 17:18:17 -05:00
Luis Alvarez
1086fce6bd Updated login operation 2021-05-20 14:37:34 -05:00
Luis Alvarez
ff2b12bcf1 Removed old customer endpoint builders 2021-05-20 14:04:28 -05:00
Luis Alvarez
bd065a7bfb Moved endpoints to nested folder 2021-05-20 14:03:52 -05:00
Luis Alvarez
7d7e4342be Added signup endpoint 2021-05-20 13:44:31 -05:00