woocommerce / woocommerce-blocks

(Deprecated) This plugin has been merged into woocommerce/woocommerce
https://wordpress.org/plugins/woo-gutenberg-products-block/
GNU General Public License v3.0
404 stars 218 forks source link

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

Closed Marc-pi closed 11 months ago

Marc-pi commented 11 months ago

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

senadir commented 11 months ago

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 commented 11 months ago

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

tarunvijwani commented 11 months ago

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.

https://github.com/woocommerce/woocommerce-blocks/assets/11503784/808defcd-3e4c-4880-85fd-5a177d439568

ralucaStan commented 11 months ago

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