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

checkout page > checkout block > shipping / billing addresses > company toggle > crash #11583

Closed
Marc-pi opened this issue Nov 3, 2023 · 4 comments · Fixed by #11714
Closed
Assignees
Labels
block: checkout Issues related to the checkout block. priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. type: bug The issue/PR concerns a confirmed bug. type: community contribution

Comments

@Marc-pi
Copy link

Marc-pi commented Nov 3, 2023

Describe the bug

activating the Company field leads to a shipping/billing block crash

To reproduce

  1. Go to your checkout page
  2. Click the billing or shipping adresse areas, to display the block options on the right panel
  3. Toggle on the Company option
  4. See error

Expected behavior

should not crash

Screenshots

image

image

Environment

WP6.3.2
WooCommerce 8.2.1
Woo blocks 11.4.1
TT3 theme
PHP v8.1.23

@Marc-pi Marc-pi added the type: bug The issue/PR concerns a confirmed bug. label Nov 3, 2023
@Marc-pi Marc-pi changed the title checkout page > checkout block > shipping / billing addresses > compagny toggle > crash checkout page > checkout block > shipping / billing addresses > company toggle > crash Nov 3, 2023
@senadir
Copy link
Member

senadir commented Nov 3, 2023

This seems to fall in line with other reports we have about those issues, happening only in the editor and started surfacing recently when we introduced Condensed Address.

Thank you for the report @Marc-pi !

@senadir senadir added block: checkout Issues related to the checkout block. priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. labels Nov 3, 2023
@senadir
Copy link
Member

senadir commented Nov 3, 2023

This also affects things like unchecking and checking the "use shipping as billing" checkbox in the editor.

@tarunvijwani
Copy link
Contributor

Related issue, when changing the shipping method in checkout from shipping to local pickup and back, the shipping address form block displays an error message This block has encountered an error and cannot be previewed.

Screen.Recording.2023-11-08.at.11.35.07.PM.mov

@ralucaStan
Copy link
Contributor

@mikejolley I've assigned this to you because it's a high priority and it can be related to the condensed address

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. priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. type: bug The issue/PR concerns a confirmed bug. type: community contribution
Projects
None yet
5 participants