• Resolved jchrusty

    (@jchrusty)


    Hi,

    when I leave the checkout page, then the browser pop up a message:

    “Diese Seite bittet um Best?tigung, dass Sie die Seite verlassen m?chten – von Ihnen eingegebene Informationen werden unter Umst?nden nicht gespeichert.”

    When I deactivate the fluid checkout plugin, then there is no pop up.

    Why there is this pop up and how can this be disabled?

    Best regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Diego Versiani

    (@diegoversiani)

    Hi @jchrusty,

    The popup message is required in order to prevent users from leaving the checkout page when there are unsaved changes to field values.

    One of the main reasons users might abandon their purchase is because of lost data during the checkout process.

    This can happen if they accidentally hit the back button, do a swipe gesture on the phone or laptops with some browsers that interpret it as a wish to go back in the browser history, or if they accidentally close the browser tab/window.

    If you really need to, after updating the plugin to the next version (1.5.2), you could use the code snippet below to disable this feature. You can also use the beta version 1.5.2-beta-2 from the link below:

    https://t2449427.p.clickup-attachments.com/t2449427/e33ff31d-50cd-4df5-a23a-399998fc46e6/fluid-checkout-1.5.2-beta-2.zip

    /**
     * Disable the update before leaving the checkout page when there are unsaved changes.
     */
    function fluidcheckout_disable_updated_before_unload( $should_update_before_unload ) {
    	return 'no';
    }
    add_filter( 'fc_checkout_update_before_unload', 'fluidcheckout_disable_updated_before_unload', 10 );

    If you are unsure about how to add the code snippet, check our article:
    How to safely add code snippets to your WooCommerce website

    I’ll let you know once the update with this fix is available.

    Best,
    Diego

    Plugin Author Diego Versiani

    (@diegoversiani)

    Hi @jchrusty,

    Fluid Checkout version 1.5.2 has been released.

    This version officially adds the filter needed for using the code snippet sent in the previous message.

    Best,
    Diego

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Browser Pop Up when leave checkout page’ is closed to new replies.