This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Introduce Toggle between Shipping Options and Pickup Locations in the Editor #7163
Labels
block: checkout
Issues related to the checkout block.
block-type: local pickup
Issues related to local pickup.
status: blocked
The issue is blocked from progressing, waiting for another piece of work to be done.
type: enhancement
The issue is a request for an enhancement.
This issue is blocked by #7161 and #7140
Introduce a new Shipping Rates shallow block, this block would act the same aswoocommerce/cart
block, and wouldn't render much itself, it should act as a wrapper for Shipping Options and Pickup Locations, using ViewSwitcher to switch between them, just likewoocommerce/filled-cart
andwoocommerce/empty-cart
.Clicking on Delivery or Local Pickup buttons in Shipping Methods block should switch views as well.Since Shipping Options and Pickup Locations are not rendered next to one another, we cannot wrap them, but we can toggle visibility within the editor.
If "Shipping" is selected (default), pickup locations should be hidden in the editor.
When "Collection" is selected, Pickup Locations should be displayed, Shipping Options should be hidden, and Billing should be revealed.
The text was updated successfully, but these errors were encountered: