woocommerce/plugins/woocommerce-blocks/assets/js
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
..
atomic Product Gallery block: Remove the experimental flag from the Product Gallery block (#43586) 2024-01-16 21:05:47 -03:00
base 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
blocks 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
blocks-registry Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
data [Experiment] Handle customer session meta data (#44181) 2024-02-06 15:16:00 +00:00
editor-components [DOC] Resolve incorrect branch references in Gutenberg links (#44566) 2024-02-15 14:13:28 -03:00
extensions [Docs] Update links from WooCommerce.com to Woo.com for the Woo Blocks documentation (#43055) 2023-12-29 12:28:11 -03:00
filters Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
hocs Update product category controls to use typescript (https://github.com/woocommerce/woocommerce-blocks/pull/11909) 2023-12-08 11:39:31 +00:00
icons [Docs] Update links from WooCommerce.com to Woo.com for the Woo Blocks documentation (#43055) 2023-12-29 12:28:11 -03:00
interactivity [Experimental] Interactivity Dropdown multi-select mode, ratings filter and introduce each directive (#42981) 2023-12-22 13:34:28 +13:00
middleware Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
previews Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
settings [Experimental] Surface additional checkout fields on Order Confirmation page (#43449) 2024-01-16 13:17:28 +00:00
shared Convert inner-block-layout-context to typescript (https://github.com/woocommerce/woocommerce-blocks/pull/9799) 2023-06-14 06:36:39 -07:00
templates/revert-button update text domain in plugins/woocommerce-blocks (#42717) 2023-12-12 14:12:36 -08:00
types Support additional fields in the Contact step for Checkout (#43088) 2024-01-05 18:35:28 +01:00
utils Update product category controls to use typescript (https://github.com/woocommerce/woocommerce-blocks/pull/11909) 2023-12-08 11:39:31 +00:00
global.d.ts WIP - Checkout i2 Feature Branch Tracking (https://github.com/woocommerce/woocommerce-blocks/pull/4268) 2021-07-22 12:03:00 +01:00
index.js Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00