woocommerce/plugins/woocommerce-blocks/assets/js/blocks/checkout/inner-blocks
Tarun Vijwani 506499dec4
Prevent prefilling of the billing address with the shipping address in the Checkout block for the Guest Shopper (#44347)
* Clear billing address when useShippingAsBilling checkbox is unchecked

* Add billing address sync with server

* Add useRef hook to store previous billing address and update sync functions

* Add changefile(s) from automation for the following project(s): woocommerce-blocks

* Revert "Add useRef hook to store previous billing address and update sync functions"

This reverts commit 7bc3312ab7.

* Added condition to clear address only for guest users

* Add E2E test to check billing address form is empty for Guest shopper

* Fix typo

* Add changefile(s) from automation for the following project(s): woocommerce-blocks

* Updated docs-manifest.json

* Revert "Updated docs-manifest.json"

This reverts commit 20d578a9d6.

* Include company field in the E2E test

* Replace beforeAll with beforeEach

* Skip country reset to keep consistency with Shortcode Checkout

* Remove sync billing address on server

* Update E2E test to include the shipping address check

* Remove unsed  imports

* Clear address fields except country and state

* Optimize the billing and shipping address check with switch statement

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com>
2024-02-16 16:10:51 +04:00
..
checkout-actions-block Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
checkout-additional-information-block [Experimental] Allow Additional Information block to be moved but not removed (#44193) 2024-02-01 02:58:05 -08:00
checkout-billing-address-block Support additional fields in the Contact step for Checkout (#43088) 2024-01-05 18:35:28 +01:00
checkout-contact-information-block Support additional fields in the Contact step for Checkout (#43088) 2024-01-05 18:35:28 +01:00
checkout-express-payment-block Update Blocks Text Domain 2023-12-09 05:44:54 -08:00
checkout-fields-block Add additional information block for custom checkout fields (#43274) 2024-01-10 06:20:06 -08:00
checkout-order-note-block Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
checkout-order-summary-block Update Blocks Text Domain 2023-12-09 05:44:54 -08:00
checkout-order-summary-cart-items Update Blocks Text Domain 2023-12-09 05:44:54 -08:00
checkout-order-summary-coupon-form Update Blocks Text Domain 2023-12-09 05:44:54 -08:00
checkout-order-summary-discount Update Blocks Text Domain 2023-12-09 05:44:54 -08:00
checkout-order-summary-fee Update Blocks Text Domain 2023-12-09 05:44:54 -08:00
checkout-order-summary-shipping Update Blocks Text Domain 2023-12-09 05:44:54 -08:00
checkout-order-summary-subtotal Update Blocks Text Domain 2023-12-09 05:44:54 -08:00
checkout-order-summary-taxes Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
checkout-payment-block Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
checkout-pickup-options-block Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
checkout-shipping-address-block Prevent prefilling of the billing address with the shipping address in the Checkout block for the Guest Shopper (#44347) 2024-02-16 16:10:51 +04:00
checkout-shipping-method-block Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
checkout-shipping-methods-block Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
checkout-terms-block Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
checkout-totals-block Update Blocks Text Domain 2023-12-09 05:44:54 -08:00
component-metadata.ts Add additional information block for custom checkout fields (#43274) 2024-01-10 06:20:06 -08:00
index.tsx Add additional information block for custom checkout fields (#43274) 2024-01-10 06:20:06 -08:00
register-components.ts Add additional information block for custom checkout fields (#43274) 2024-01-10 06:20:06 -08:00