4
0
forked from crowetic/commerce

216 Commits

Author SHA1 Message Date
Luis Alvarez
f1b9ea605e Added handlers for the cart API 2020-10-11 00:58:57 -05:00
Luis Alvarez
1c3714bf51 Allow API operations to be more customizable 2020-10-11 00:19:11 -05:00
Luis Alvarez
4c43278e67 Added brands 2020-10-10 14:19:05 -05:00
Luis Alvarez
8e42fdd25d Minor change 2020-10-10 10:06:28 -05:00
Luis Alvarez
2030255c5e Add checkout button 2020-10-09 22:40:12 -05:00
Luis Alvarez
a92dcb851b Updated paths to useCart 2020-10-09 17:43:10 -05:00
Luis Alvarez
48e4cef4e7 add single module for useCart 2020-10-09 17:21:39 -05:00
Luis Alvarez
939bc388bb Allow custom swr 2020-10-09 17:18:02 -05:00
Luis Alvarez
d67c728e80 Export the extend fn 2020-10-09 13:24:13 -05:00
Luis Alvarez
22ba0d7315 Updated useCart hook 2020-10-09 12:58:49 -05:00
Luis Alvarez
7758ea3199 Removed the CartProvider 2020-10-09 11:26:39 -05:00
Luis Alvarez
b5ee7feb46 Fixed commerce config types 2020-10-09 11:17:54 -05:00
Luis Alvarez
eb3f29fa95 updated the useUpdateItem hook 2020-10-09 11:10:58 -05:00
Luis Alvarez
cc0e62cd7e Updated the useRemoveItem hook 2020-10-09 10:44:54 -05:00
Luis Alvarez
c2096a8ab4 Make use-add-item hook extendable 2020-10-09 10:36:23 -05:00
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