• Resolved Dennis Heiden

    (@dennisheiden)


    Bug:

    When the required shipping fields, such as the street field, have conditions enabled and the shipping field column or form part is initially hidden by WooCommerce, it triggers an endless loop in the payment update process or function of WooCommerce. To isolate the issue, I performed the following tests:

    • Disabled the Flexible Checkout Fields (Pro) plugin: No bug observed
    • Removed the conditions from the shipping fields: No bug observed
    • Displayed the shipping fields on load with conditions activated: No bug observed – However, when I set the shipping fields’ display property to “none” using the browser’s developer tools, the endless loop issue reoccurred.

    Woo Setup:

    • WooCommerce checkout
    • Woo Setting: Billing fields as default address fields
    • Checkbox “ship-to-different-address” should be visible in the checkout and not checked by default (shipping fields are hidden that way on load)

    Flexible Checkout Fields:

    • add a checkbox or radio field to the shipping form
    • show e.g. shipping_address_1 (“street”) when checkbox/radio is checked or has specific value

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Endless form update when hidden shipping fields are hidden and have conditions’ is closed to new replies.