196 Commits

Author SHA1 Message Date
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
89e7793d10 Updated use-cart types 2020-10-23 21:15:37 -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
c9f5babfdd Updated type 2020-10-22 18:05:56 -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
Belen Curcio
5a05cb41ea Cursor for Product View 2020-10-20 13:28:58 -03: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
8212cec939 Merge branch 'master' of https://github.com/okbel/e-comm-example 2020-10-19 18:24:02 -05:00
Belen Curcio
e2dd854f10 Utilities to handle Colors 2020-10-19 16:53:02 -03:00
Belen Curcio
707f814244 Utilities to handle Colors 2020-10-19 16:28:05 -03:00
Luis Alvarez
0c67a84175 Merge branch 'master' of https://github.com/okbel/e-comm-example 2020-10-19 13:59:18 -05:00
Luis Alvarez
f6e0fd761e Don't import from 'lodash' 2020-10-19 13:56:29 -05:00
Luis Alvarez
e5ee8caaec Filtered products for the landing 2020-10-19 13:49:02 -05:00
Belen Curcio
26535b7c7f Adding Modal Component and Login View 2020-10-19 15:22:48 -03: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
Luis Alvarez D
9c1372acb7
Merge pull request #5 from okbel/initial-wishlist-hooks
Add in initial wishlist api functions and hooks
2020-10-19 11:22:39 -05:00
Belen Curcio
ab51207548 Active Product Page back to working again 2020-10-19 12:02:17 -03:00
Belen Curcio
06234ae6c4 Changes to hook 2020-10-19 11:23:53 -03: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