This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Hide shipping address form from the Editor when "Force shipping to the customer billing address" is enabled. #7394
Labels
block: checkout
Issues related to the checkout block.
type: bug
The issue/PR concerns a confirmed bug.
Describe the bug
In PRs #7268 and #7393, we hide the shipping address form from the front end for the Checkout block when
Force shipping to the customer billing address
is enabled. We need to hide the shipping address inner block in the Checkout block Editor as well. We also need to change the label of the billing address inner block fromBilling Address
toBilling and Shipping Address
and it should mention:Enter the billing and shipping address that matches your payment method.
in the default block description.We need to find settings tied to the shipping address inner block and surface them in the billing address inner block.
More details: p1665655511491119/1665654716.887749-slack-C8X6Q7XQU
To reproduce
wp-admin/admin.php?page=wc-settings&tab=shipping§ion=options
page.Force shipping to the customer billing address
option and save the changes.Expected behavior
Only billing inner block should be visible.
The text was updated successfully, but these errors were encountered: