Skip to content
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

Closed
senadir opened this issue Sep 15, 2022 · 0 comments · Fixed by #7433
Closed

Introduce Toggle between Shipping Options and Pickup Locations in the Editor #7163

senadir opened this issue Sep 15, 2022 · 0 comments · Fixed by #7433
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.

Comments

@senadir
Copy link
Member

senadir commented Sep 15, 2022

This issue is blocked by #7161 and #7140

Introduce a new Shipping Rates shallow block, this block would act the same as woocommerce/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 like woocommerce/filled-cart and woocommerce/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.

@senadir senadir added 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. block: checkout Issues related to the checkout block. labels Sep 15, 2022
@mikejolley mikejolley self-assigned this Sep 29, 2022
@mikejolley mikejolley changed the title Introduce Shipping Rates shallow block that encompasses Shipping Options and Pickup Locations Introduce Toggle between Shipping Options and Pickup Locations in the Editor Sep 30, 2022
@mikejolley mikejolley removed their assignment Dec 23, 2022
@nielslange nielslange added the block-type: local pickup Issues related to local pickup. label Mar 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants