4
0
forked from crowetic/commerce

226 Commits

Author SHA1 Message Date
Luis Alvarez
9ad0f0ef6b Added actions and more stuff to the wishlist page 2020-10-27 03:13:25 -05:00
Luis Alvarez
95fd730f0a Add list of products to the returned wishlist 2020-10-27 02:13:22 -05:00
Luis Alvarez
7f7795ec87 /checkout redirects to cart if no cookie is set 2020-10-27 00:52:09 -05:00
Luis Alvarez
c9b4a9ad4c Add preview where applicable 2020-10-27 00:47:29 -05:00
Luis Alvarez
3e7b1f833f Add channel id when creating a cart 2020-10-27 00:27:17 -05:00
Luis Alvarez
a6772c136a Add channel id to config 2020-10-27 00:20:11 -05:00
Luis Alvarez
ec9953790c Undo change 2020-10-26 22:46:09 -05:00
Luis Alvarez
2f37fa46a9 Select variant in product page 2020-10-26 22:31:49 -05:00
luc
ae822df689 remove lib/bigcommerce and lib/commerce 2020-10-27 02:51:53 +01:00
Luis Alvarez
970d35dc08 Remove unrequired actions 2020-10-26 19:12:04 -05:00
luc
200f148488 use relative paths in lib folder 2020-10-27 01:05:13 +01:00
Luis Alvarez
008c80766a Fixed type 2020-10-26 19:04:51 -05:00
Luis Alvarez
be03b6eae0 Only include required operations for the wishlist API 2020-10-26 19:02:23 -05:00
Luis Alvarez
0ec552c2b8 Removed Body type 2020-10-26 18:26:40 -05:00
Luis Alvarez
0f4f061cbd Added useRemoveItem and other fixes 2020-10-26 18:25:35 -05:00
Luis Alvarez
2cd41ee135 Temporal fix for types 2020-10-26 17:25:15 -05:00
Luis Alvarez
e91a6791d5 Added wishlist button component 2020-10-26 17:13:34 -05:00
Luis Alvarez
bf71d1d41a Updated wishlist hooks, added more, updated API. 2020-10-26 15:23:19 -05:00
Luis Alvarez
23a36d0826 Added definitions for the wishlist 2020-10-26 10:34:52 -05:00
Luis Alvarez
50c50b6d53 Removed code related to unused image sizes API 2020-10-25 19:50:33 -05:00
Luis Alvarez
29aedfc149 Fix remaining response type 2020-10-25 18:46:32 -05:00
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
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