4
0
forked from crowetic/commerce

135 Commits

Author SHA1 Message Date
Luis Alvarez
6de830af43 Fixed type 2020-10-25 18:23:36 -05:00
Luis Alvarez
cf5762058e Fix fetch types 2020-10-25 17:57:35 -05:00
Luis Alvarez
af9dfe79d2 Added usePrice to products in the landing 2020-10-25 17:52:52 -05:00
Luis Alvarez
7d9dad9b0d Add @vercel/fetch to deps 2020-10-25 17:33:59 -05:00
luc
cb415e09e6 refactor 2020-10-25 23:29:10 +01:00
luc
f9ff967347 use @zeit/fetch server-side 2020-10-25 23:17:39 +01:00
Luis Alvarez
3654cb47d5 Added locale metadata for products and product page 2020-10-25 15:14:54 -05:00
Luis Alvarez
7bc2c408ee Added i18n for custom pages 2020-10-25 13:31:12 -05:00
Luis Alvarez
7b5b801c94 Removed temporal type fix 2020-10-24 10:26:51 -05:00
Luis Alvarez
d92e4de42b Merge branch 'master' of https://github.com/okbel/e-comm-example 2020-10-24 10:25:47 -05:00
Luis Alvarez
7633a6fae8 Updated types for swr hooks 2020-10-24 10:24:28 -05:00
Belen Curcio
49f26785e9 Type 2020-10-24 11:38:02 -03:00
Luis Alvarez
dca8f281ab Hook fixes and update the customer after an operation 2020-10-23 21:49:33 -05:00
Luis Alvarez
444456d376 Updated types, hooks, useCustomer sample 2020-10-23 19:21:37 -05:00
Luis Alvarez
4d9b9f77b2 Fix product paths 2020-10-22 21:38:03 -05:00
Luis Alvarez
1d7365bc38 Updated logout API to remove the cookie 2020-10-22 18:44:35 -05:00
Luis Alvarez
b81d04b952 Added logout API 2020-10-22 18:02:41 -05:00
Luis Alvarez
f81c507157 Added useLogout hook 2020-10-22 17:29:01 -05:00
Luis Alvarez
7c91f8a80f Login should work now! 2020-10-22 17:13:28 -05:00
Luis Alvarez
3941b90b0f Use CommerceError for hooks 2020-10-22 16:37:06 -05:00
Luis Alvarez
a72c6e49de Updated login handler 2020-10-22 16:28:22 -05:00
Luis Alvarez
228f2141e7 Allow the auth cookie in development 2020-10-22 16:27:31 -05:00
Luis Alvarez
3644d637dd Improve error handling for hooks 2020-10-22 15:57:33 -05:00
Luis Alvarez
e4a99601f5 Updated types, API, and make the signup work 2020-10-22 13:25:44 -05:00
Luis Alvarez
316801627b Fixed type 2020-10-21 15:21:31 -05:00
Luis Alvarez
1569d62902 Fixed type issue and updated to latest canary 2020-10-21 12:49:59 -05:00
Luis Alvarez
2804627aef Updated defaults in all hooks 2020-10-21 10:35:49 -05:00
Luis Alvarez
d98897a7e3 Added useCustomer hook 2020-10-21 10:23:05 -05:00
Luis Alvarez
2aae613f1b Added op to get the logged in customer 2020-10-21 09:53:19 -05:00
Luis Alvarez
377015ceac updated useSignup hook 2020-10-21 09:17:52 -05:00
Luis Alvarez
f0a2c744e8 Moved create customer API to signup method 2020-10-21 09:15:14 -05:00
Luis Alvarez
a1e47a73d2 Added useLogin hook and API endpoint 2020-10-20 22:27:38 -05:00
Luis Alvarez
e2b26715b9 use-signup 2020-10-20 13:49:37 -05:00
Luis Alvarez
ef81a968af Fix potential body bug 2020-10-20 13:49:17 -05:00
Luis Alvarez
ed879f8b2c Run login after creating the customer 2020-10-20 13:18:38 -05:00
Luis Alvarez
7db006f64a Added login operation 2020-10-20 12:51:35 -05:00
Luis Alvarez
0922c87621 Handle validation for duplicated emails 2020-10-19 22:08:01 -05:00
Luis Alvarez
9257b44c0d Improved error handling for the fetch api 2020-10-19 21:48:22 -05:00
Luis Alvarez
20c08fcbb4 Allow the API to create customers 2020-10-19 21:29:27 -05:00
Luis Alvarez
f4bc27666b Updated types 2020-10-19 12:52:09 -05:00
Luis Alvarez
9309bff517 Type fixes 2020-10-19 12:40:26 -05:00
Luis Alvarez
5bf93038c2 Minor fixes 2020-10-19 11:30:49 -05:00
Jing Wang
ecafee8310 add in initial wishlist api functions and hooks 2020-10-19 09:10:45 -04:00
Luis Alvarez
c92e765814 Fetch products separately 2020-10-18 17:52:07 -05:00
Luis Alvarez
42cb7120e5 Added more info about the products 2020-10-18 15:23:17 -05:00
Belen Curcio
526b291f4f Adding Correct Sizes and Colors 2020-10-17 17:56:38 -03:00
Belen Curcio
a79b979b41 Merge branch 'master' of github.com:okbel/e-comm-example 2020-10-17 09:11:37 -03:00
Belen Curcio
a42c67a898 Latest Changes - Logger, Size and Colors 2020-10-17 09:07:02 -03:00
Luis Alvarez
6d241937d9 Updated api handler 2020-10-16 21:45:52 -05:00
Luis Alvarez
5165f824e1 Change date_modified sort with id 2020-10-16 11:25:13 -05:00