woocommerce/plugins/woocommerce-blocks/assets/js/base/components/cart-checkout/totals
Mike Jolley ec22a5c6c4 Cart and checkout should respect the global "Hide shipping costs until an address is entered" setting (https://github.com/woocommerce/woocommerce-blocks/pull/3383)
* Remove custom fieldconfig for shipping calculator so required fields for shipping are collected

* If the store config requires an address before shipping, do not return rates or totals

Totals, calculated by the cart, would be set to 0 in this scenario which could lead to customer confusion (why is the rate $10 but shipping shown as $0?)

* The shipping total row is missing a border

* Revert "If the store config requires an address before shipping, do not return rates or totals"

This reverts commit f3a4f24f5785392eb43bfc69a5548d398c47d8bb.

* Add hasCalculatedShipping to schema and hooks

* Show shipping notices with updated wording based on if shipping has calculated yet or not

* Refactor shipping row display to use new API props

* Remove block level isShippingCostHidden

* fix test

* Correct the math in the shipping preview in cart

* Document null

* Remove test—this option no longer exists

* Remove unused settings/constants
2020-11-17 11:58:38 +00:00
..
subtotals-item Move some base components to subfolders (https://github.com/woocommerce/woocommerce-blocks/pull/2034) 2020-03-30 15:04:27 +02:00
totals-coupon-code-input Replace usage of `cart-checkout/button` with `@woocommerce/base-components/button` (https://github.com/woocommerce/woocommerce-blocks/pull/2781) 2020-06-25 16:50:48 +01:00
totals-discount-item Unify Chip styles (https://github.com/woocommerce/woocommerce-blocks/pull/2765) 2020-07-10 11:09:49 +02:00
totals-fees-item Update base/components classnames (https://github.com/woocommerce/woocommerce-blocks/pull/2711) 2020-06-17 11:53:42 +02:00
totals-footer-item Respect Enable Taxes setting for checkout block taxe display. (https://github.com/woocommerce/woocommerce-blocks/pull/3291) 2020-10-26 11:34:30 +01:00
totals-item Update base/components classnames (https://github.com/woocommerce/woocommerce-blocks/pull/2711) 2020-06-17 11:53:42 +02:00
totals-shipping-item Cart and checkout should respect the global "Hide shipping costs until an address is entered" setting (https://github.com/woocommerce/woocommerce-blocks/pull/3383) 2020-11-17 11:58:38 +00:00
totals-taxes-item Remove text color from Cart and Checkout blocks (https://github.com/woocommerce/woocommerce-blocks/pull/2745) 2020-06-23 11:13:53 +01:00
index.js Move some base components to subfolders (https://github.com/woocommerce/woocommerce-blocks/pull/2034) 2020-03-30 15:04:27 +02:00