101 Commits

Author SHA1 Message Date
Luis Alvarez
6dca1eadd2 Update Next and make the CartProvider not required anymore 2020-10-08 22:17:40 -05:00
Luis Alvarez
5c4f3e7ff2 Memoize functions in commerce hooks and debounce update 2020-10-08 20:36:31 -05:00
Luis Alvarez
0aac955910 Dynamic categories 2020-10-08 18:48:28 -05:00
Luis Alvarez
268ef2f817 Add original img to query 2020-10-08 16:18:06 -05:00
Luis Alvarez
e874f43abc Type changes 2020-10-07 15:27:22 -05:00
Luis Alvarez
3ac6805ebe bug fixes for cart actions 2020-10-07 15:08:17 -05:00
Luis Alvarez
80614a1df0 Fix cart removal 2020-10-07 12:56:51 -05:00
Luis Alvarez
63e8f431d8 Allow cart view to remove the item 2020-10-07 11:19:50 -05:00
Luis Alvarez
0483e97954 Fix cart provider 2020-10-06 21:00:36 -05:00
Luis Alvarez
b5b5d1343f Update item quantity 2020-10-06 19:07:02 -05:00
Luis Alvarez
35c91bca2b Added cart item and handle empty cart state 2020-10-06 15:38:21 -05:00
Luis Alvarez
21d5a8ea57 Added use-cart-actions hook 2020-10-05 21:57:38 -05:00
Luis Alvarez
289c2948d6 Added remove item from cart hook 2020-10-05 12:35:55 -05:00
Luis Alvarez
45c3a5345d Updated types and added remove item from cart api 2020-10-05 12:25:03 -05:00
Luis Alvarez
486c50a68b Added update item hook 2020-10-05 11:46:56 -05:00
Luis Alvarez
554d34b53b Added comment about memoized cart 2020-10-05 11:15:32 -05:00
Luis Alvarez
c782b3d0f0 Memoize commerce config 2020-10-05 10:49:22 -05:00
Luis Alvarez
3d2739e526 Added update cart item to api 2020-10-05 10:28:16 -05:00
Luis Alvarez
55ac91fcee Removed no longer required cart mock 2020-10-05 10:17:46 -05:00
Luis Alvarez
d095ac9f70 Updated types 2020-10-05 01:13:20 -05:00
Luis Alvarez
2f35358942 See if cart is empty 2020-10-05 01:05:04 -05:00
Luis Alvarez
f8df1c1879 Fixed bugs and updated hooks 2020-10-05 00:39:54 -05:00
Luis Alvarez
a3cf05fbd2 Fetch the cart! 2020-10-04 21:20:52 -05:00
Luis Alvarez
8a7798d4d6 Make locale required 2020-10-04 19:46:43 -05:00
Luis Alvarez
6fa1204e0b add to cart c: 2020-10-04 19:44:11 -05:00
Luis Alvarez
6c378d98ea Updated hooks 2020-10-04 13:46:28 -05:00
Luis Alvarez
0ad9ac0d5d Hook changes 2020-10-04 13:12:41 -05:00
Luis Alvarez
ca959f6491 Added add to cart method 2020-10-03 20:49:09 -05:00
Luis Alvarez
ec1377850e Updated cart hook 2020-10-03 19:59:15 -05:00
Luis Alvarez
b1e6aa25b5 Updated config in operations 2020-10-03 16:56:20 -05:00
Luis Alvarez
604a7b86c9 Renamed lib 2020-10-03 16:24:12 -05:00
Luis Alvarez
c9f540cbd0 Added api builder 2020-10-03 16:06:41 -05:00
Luis Alvarez
7273c4deb3 Updated hooks 2020-10-03 06:45:09 -05:00
Luis Alvarez
f46d122b88 Revert "Testing potential reason"
This reverts commit aebc275303e6d26dd1d3657199cad645d26f3b56.
2020-10-03 04:54:28 -05:00
Luis Alvarez
aebc275303 Testing potential reason 2020-10-03 04:20:22 -05:00
Luis Alvarez
4f72e371cd Updated types 2020-10-02 13:42:15 -05:00
Belen Curcio
f536dab1a2 build changes 2020-10-02 12:59:50 -03:00
Luis Alvarez
0ef6449aff Apply prettier over all files 2020-10-01 20:40:40 -05:00
Luis Alvarez
2314ad760a Added prettier to devs and codegen 2020-10-01 20:38:40 -05:00
Luis Alvarez
390b2c3303 Added products paths to getStaticPaths 2020-10-01 20:26:32 -05:00
Luis Alvarez
5459c70fde Added config obj to operations 2020-10-01 19:04:31 -05:00
Luis Alvarez
22bd962b71 Use fragments 2020-10-01 18:55:50 -05:00
Luis Alvarez
5bd31d254d Updated config 2020-10-01 15:16:23 -05:00
Luis Alvarez
35ac41e04d Merge branch 'master' of https://github.com/okbel/e-comm-example 2020-10-01 14:54:32 -05:00
Luis Alvarez
fdb306a988 Improved types and added method for product 2020-10-01 14:53:29 -05:00
Belen Curcio
7cf79cea91 UI Actions 2020-10-01 09:26:22 -03:00
Luis Alvarez
2971b4f802 Use functions instead of a class 2020-09-30 21:08:25 -05:00
Luis Alvarez
af38839384 Added custom image sizes 2020-09-30 15:59:46 -05:00
Luis Alvarez
b9be9ea749 Use the query 2020-09-30 13:36:02 -05:00
Luis Alvarez
9ca977c44f Fix 2020-09-30 12:32:46 -05:00