Luis Alvarez
5cfa8241f6
Updated the useAddItem and useRemoveItem hooks
2021-02-02 20:16:47 -05:00
Luis Alvarez
023058dc0c
Moved and updated cart types
2021-02-02 17:49:05 -05:00
okbel
b037cc0596
Merge branch 'agnostic' of github.com:vercel/commerce into agnostic
2021-02-02 11:40:29 -03:00
Jamie Isaksen
7c70f645cc
Improve import statements ( #191 )
...
Co-authored-by: B <curciobelen@gmail.com >
2021-02-01 20:32:57 -03:00
Marcelo Fortunato
8b70794036
chore: Remove import never used ( #189 )
2021-02-01 20:32:28 -03:00
Luis Alvarez
e5f0809070
Improved types for operations
2021-01-29 19:24:10 -05:00
Luis Alvarez
172b413521
Making multiple changes
2021-01-29 16:45:50 -05:00
Luis Alvarez
1de3e76513
Switch away from global types
2021-01-29 11:30:17 -05:00
B
b7fbdc4e90
Update README.md
2021-01-29 12:01:56 -03:00
B
ec54b79d7a
Update README.md
2021-01-29 12:01:03 -03:00
B
3a7d5e2489
Latest Release ( #187 )
...
* Remove duplicated css rules. (#185 )
* Fix typo in the Marquee component (#176 )
Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com >
* Remove duplicated css rules.
Fix invalid JSX props.
Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com >
* Fix the body scroll when the sidebar is open (#184 )
* Fix typo in the Marquee component (#176 )
Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com >
* Fix the body scroll when the sidebar is open
Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com >
* Remove duplicate class in the I18nWidget comp (#183 )
* Fix typo in the Marquee component (#176 )
Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com >
* Remove duplicate class name in the I18nWidget comp
This PR removes a duplicate class name in the I18nWidget component.
Co-authored-by: Hugo Lopes <hugo.rodrigues.lopes@gmail.com >
Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com >
* add horizontal margin to pages when mobile screen (#180 )
* Add cart item options like color and size (#177 )
Co-authored-by: hlopes <hugo.lopes@present-technologies.com >
* Changes
Co-authored-by: Hugo Lopes <hugo.rodrigues.lopes@gmail.com >
Co-authored-by: Hugo Lopes <hugo.lopes@present-technologies.com >
Co-authored-by: Jamie Isaksen <jamie@jamie.no >
Co-authored-by: Vinicius Zucatti <51221635+vczb@users.noreply.github.com >
2021-01-29 12:00:16 -03:00
okbel
b8a0bb5a21
Progress
2021-01-29 11:22:41 -03:00
Luis Alvarez
2ffe1ab71b
Removed import
2021-01-28 19:00:26 -05:00
Luis Alvarez
f541a545f9
Updated cart update hooks
2021-01-28 18:37:07 -05:00
Luis Alvarez
59a4535f0e
More corrections for useCart
2021-01-28 18:34:44 -05:00
Luis Alvarez
3e27b80658
Added new normalizer for the cart to the UI
2021-01-28 15:54:17 -05:00
Leah Wagner
08a6b2efcf
Issue/79 fallback image ( #179 )
...
* Filter products from the homepage grid display when they do not have and image. Provide a fallback/placeholder image for the ProductCard for when a product does not have an image.
* Avoid repeating placeholder image reference and move to a variable
* Remove filter to avoid additional computations as per https://github.com/vercel/commerce/pull/80#discussion_r531142893 . Placeholder images will display as fallback.
* Filter products from the homepage grid display when they do not have and image. Provide a fallback/placeholder image for the ProductCard for when a product does not have an image.
* Avoid repeating placeholder image reference and move to a variable
* Remove filter to avoid additional computations as per https://github.com/vercel/commerce/pull/80#discussion_r531142893 . Placeholder images will display as fallback.
* Remove comment about filter. Code removed so no longer needed.
Co-authored-by: B <curciobelen@gmail.com >
2021-01-28 12:09:28 -05:00
Luis Alvarez
7cf1ace9fb
Updated normalizer for useData
2021-01-27 15:41:04 -05:00
Luis Alvarez
61fa423673
updated useCart types
2021-01-26 17:10:33 -05:00
Luis Alvarez
7edd5aa182
Moved normalizer to happen after fetch
2021-01-25 16:58:19 -05:00
Luis Alvarez
1588fcf6bb
Minor changes
2021-01-25 15:03:59 -05:00
Luis Alvarez
905d0324f0
Moved types.d.ts to the commerce folder
2021-01-25 14:50:04 -05:00
Luis Alvarez
a49d0a18f8
Added more cart types
2021-01-25 13:51:15 -05:00
Luis Alvarez
8784e05183
Ran prettier fix
2021-01-22 12:17:39 -05:00
Luis Alvarez
bccef99c35
Added husky and lint-staged
2021-01-22 12:13:34 -05:00
mohammadou1
027c4aca70
@hotfix/fixing brand id in use-search ( #174 )
...
to set searchParam brand, should check brandId and not categoryId
Co-authored-by: mohux <m.alolabi@uxbert.com >
2021-01-22 13:59:25 -03:00
Luis Alvarez
fc104c6caf
added useResponse to useWhishlist
2021-01-22 10:51:49 -05:00
Luis Alvarez
bafb8a4479
Added useResponse hook
2021-01-21 21:19:53 -05:00
Luis Alvarez
2613a5cec7
Improve navbar performance
2021-01-21 10:44:59 -05:00
Luis Alvarez
1db974dabd
Changed the way isEmpty works
2021-01-20 15:29:02 -05:00
Luis Alvarez
a7baff45fc
Bug fix
2021-01-19 18:45:50 -05:00
Luis Alvarez
10318b2fab
Add loading state for data hooks
2021-01-19 17:40:27 -05:00
Luis Alvarez
4a268e738d
Removed some comments
2021-01-19 17:36:09 -05:00
okbel
48b484011d
More updates
2021-01-19 12:33:50 -03:00
okbel
a8ae360cd4
Merge branch 'agnostic' of github.com:vercel/commerce into agnostic
2021-01-19 11:07:44 -03:00
okbel
017218c155
Progress
2021-01-19 11:07:40 -03:00
Bel Curcio
49b9efa395
changes
2021-01-18 20:17:10 -03:00
okbel
d03df631ce
Cart Normalized
2021-01-18 16:24:22 -03:00
bc
64b25ef70b
Adding immutable normalizer for Product
2021-01-18 13:23:37 -03:00
Belen Curcio
de0ba8cee8
changes breaking
2021-01-17 12:53:34 -03:00
Belen Curcio
7f70cfd868
Changes
2021-01-14 12:58:41 -03:00
Belen Curcio
fc34856e50
Normalizing Cart Responses
2021-01-12 16:59:07 -03:00
Belen Curcio
287e690495
Correct Variant Added to Cart
2021-01-11 16:16:00 -03:00
Belen Curcio
9bbd7feed0
Restored Add to cart
2021-01-11 15:03:04 -03:00
Belen Curcio
4fdaae2197
Normalized Options and Swatches
2021-01-11 14:54:05 -03:00
Belen Curcio
dccc5ef430
slug
2021-01-11 14:13:29 -03:00
Belen Curcio
8f9bbe19ca
index.ts broke my tree shaking
2021-01-11 13:55:45 -03:00
Belen Curcio
28b244760a
changes
2021-01-11 13:25:25 -03:00
Belen Curcio
a3a2c15f70
change
2021-01-11 12:26:34 -03:00
Belen Curcio
deadb1675b
Cleanup
2021-01-11 12:22:18 -03:00