Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Shipping method selector box appears twice if description edited #8576

Closed
passatgt opened this issue Feb 28, 2023 · 0 comments · Fixed by #8861
Closed

Shipping method selector box appears twice if description edited #8576

passatgt opened this issue Feb 28, 2023 · 0 comments · Fixed by #8861
Assignees
Labels
block: checkout Issues related to the checkout block. block-type: local pickup Issues related to local pickup. type: bug The issue/PR concerns a confirmed bug.

Comments

@passatgt
Copy link

passatgt commented Feb 28, 2023

Describe the bug

If local pickup is enabled, the shipping method selector block is visible. If i edit the default "Select how you would like to receive your order." description of this block to something else, the block will appear twice on the checkout page, one modified and one original state.

Edit: just checked, if you can edit any parameter, like the name of the shipping method, it will create a duplicate

To reproduce

Steps to reproduce the behavior:

  1. Enable a shipping method and Local Pickup
  2. Open the checkout page and see that the shipping method selector is there
  3. Edit the block by changing the default description to something else.
  4. Open the checkout page and see that the shipping method block is now duplicated

Expected behavior

Description of the block should be editable.

Screenshots

image

Environment

WordPress (please complete the following information):

  • WordPress version: 6.1.1
  • WooCommerce version: 7.4.0
  • WooCommerce Blocks version: 9.6.3
  • Site language: English
  • Any other plugins installed: none

Desktop (please complete the following information):

  • OS: macOS
  • Browser Chrome
  • Version 110.0.5481.177
@passatgt passatgt added the type: bug The issue/PR concerns a confirmed bug. label Feb 28, 2023
@imanish003 imanish003 added the block: checkout Issues related to the checkout block. label Mar 2, 2023
@nielslange nielslange added the block-type: local pickup Issues related to local pickup. label Mar 8, 2023
@tarhi-saad tarhi-saad self-assigned this Mar 22, 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. type: bug The issue/PR concerns a confirmed bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants