woocommerce/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout/cart/full-cart
Mike Jolley 6d7fdf50e0 Allow coupons to be applied and removed from the cart (https://github.com/woocommerce/woocommerce-blocks/pull/1790)
* useStoreCartCoupons hook

* Apply coupon w/ basic error handling for the fetch

* Basic store specifically for cart data

* Working on error states

* Show error on coupon fail

* removeCoupon action

* Added extra endpoints for more efficient cart queries

* Apply/remove coupons working

* Track applying/removing state

* StoreCartCoupon typedef

* Use coupon code on index

* Remove custom controls definition

* Adjust storecartcoupons mapper and remove ref

* Move cartData defaults and remove ref

* Call API directly, avoid schema lookup

* Improved selectors

* StoreCart typedef

* Split up cart state data and add more typedefs

* Add API tests for apply/remove coupon

* Jest tests

* Move default cart data to constant

* Comment indentation
2020-02-25 11:36:53 +00:00
..
checkout-button Add Cart totals to Cart block (https://github.com/woocommerce/woocommerce-blocks/pull/1411) 2020-01-10 15:37:27 +01:00
cart-line-item-row.js Add permalink to line items (https://github.com/woocommerce/woocommerce-blocks/pull/1791) 2020-02-24 12:39:43 +00:00
cart-line-items-table.js Improved cart styling for desktop and mobile (https://github.com/woocommerce/woocommerce-blocks/pull/1587) 2020-01-20 16:43:22 +00:00
cart-line-items-title.js Cart block: line-items front end initial work (https://github.com/woocommerce/woocommerce-blocks/pull/1333) 2020-01-10 11:50:14 +13:00
editor.scss UI for removing cart items (not including hooking up to API) (https://github.com/woocommerce/woocommerce-blocks/pull/1579) 2020-01-17 13:46:56 +00:00
index.js Allow coupons to be applied and removed from the cart (https://github.com/woocommerce/woocommerce-blocks/pull/1790) 2020-02-25 11:36:53 +00:00
style.scss Add style to radio control (https://github.com/woocommerce/woocommerce-blocks/pull/1789) 2020-02-24 13:30:09 +00:00