Albert Juhé Lluveras
d236af2a8c
Only show the Mini Cart count badge when there are items in the cart ( https://github.com/woocommerce/woocommerce-blocks/pull/9259 )
...
* Only show the Mini Cart count badge when there are items in the cart
* Update badge to new design
* Add tests
* Make sure colors don't break existing themes
* Update Mini Cart e2e test
2023-05-11 17:23:36 +02:00
Albert Juhé Lluveras
2b6eef516b
Update Mini-Cart block editor sidebar ( https://github.com/woocommerce/woocommerce-blocks/pull/9420 )
...
* Update Mini-Cart block editor sidebar
* Rename Mini Cart block to Mini-Cart
* Update Mini-Cart block editor sidebar (II)
* Update two instances of mini-cart to uppercase
2023-05-11 14:52:03 +02:00
Albert Juhé Lluveras
4534beaa91
Fix Mini Cart block not respecting Add-to-Cart behaviour attribute when adding the first product ( https://github.com/woocommerce/woocommerce-blocks/pull/9257 )
2023-05-03 09:49:43 +02:00
Albert Juhé Lluveras
705c0937a2
Remove wc-settings from Mini Cart block dependencies ( https://github.com/woocommerce/woocommerce-blocks/pull/8703 )
2023-03-10 13:36:20 +01:00
Mike Jolley
06b9b29454
Refresh the cart when using the browser back button ( https://github.com/woocommerce/woocommerce-blocks/pull/8236 )
...
* Refresh on back
* Move refresh code to a hook in useStoreCart
* Load mini cart scripts when page is invalid
* Update code comments
* refreshDataIfPersisted->refreshCachedCartData
* Avoid deprecated code
* Only notify if cart resolution has finished
* Fix tests to check for cart resolution
Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
2023-01-25 16:28:41 +00:00
Tung Du
6c42a30674
Use theme's body background color as the mini cart contents default background color ( https://github.com/woocommerce/woocommerce-blocks/pull/7510 )
...
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
2022-10-28 22:30:51 +07:00
Alex Florisca
0c7c2db6c0
Update @woocmmerce/eslint-plugin to 2.0.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/6203 )
...
* Update @woocmmerce/eslint-plugin to 2.0.0
* Fixed some eslint errors
* Fix syntax errors
* Fix most linting errors
* Feedback changes
* Fix one more eslint issue
2022-04-08 14:47:19 +01:00
Alex Florisca
e37b787e50
Move mini cart outside cart-checkout folder ( https://github.com/woocommerce/woocommerce-blocks/pull/6192 )
...
* Move shared folder to /blocks
* Moved mini-cart block in blocks dir:
* Rename shared folder to cart-checkout-shared
* Remove customDir from mini-cart webpack entry
* Update assets/js/base/context/tsconfig.json
Co-authored-by: Tung Du <dinhtungdu@gmail.com>
* Feedback changes
Co-authored-by: Tung Du <dinhtungdu@gmail.com>
2022-04-07 14:47:58 +01:00
Alex Florisca
e15d516163
Revert "Move cart and mini-cart blocks into their own folders ( https://github.com/woocommerce/woocommerce-blocks/pull/6126 )" ( https://github.com/woocommerce/woocommerce-blocks/pull/6190 )
...
This reverts commit d005dbd2cf
.
2022-04-05 11:14:32 +01:00
Alex Florisca
d005dbd2cf
Move cart and mini-cart blocks into their own folders ( https://github.com/woocommerce/woocommerce-blocks/pull/6126 )
...
* Move cart and mini-cart into their own folders
* Update other references of cart-checkout
2022-04-04 12:34:29 +01:00