• Resolved alex_marin_29

    (@alex_marin_29)


    Hello

    We are developing a new website and are using FVM to improve speed and optimize assets. We have an issue on the checkout page which is present only on the Facebook Messenger Browser when FVM is activated, even if no setting are active, like JS minification etc. This causes the users to not be able to checkout.

    Also this issue only happens on iOS phones.

    I tried this solution:

    add_action(‘template_redirect’, ‘disable_fvm_functionality’);
    function disable_fvm_functionality() {
    remove_action(‘template_redirect’, ‘fvm_start_buffer’, -PHP_INT_MAX);
    }

    but it does not work. Do you have any suggestions/ideas maybe?

    Any help is appreciated!

    Best regards,
    Alex

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Raul P.

    (@alignak)

    Hi, can you try the latest update and see if it works?

    Your code should be simply:
    remove_action('template_redirect', 'fvm_start_buffer', -PHP_INT_MAX);

    The plugin uses is_checkout and other conditional tags to skip the checkout page.

    View post on imgur.com

    Does your checkout page triggers the is_checkout conditional?
    It’s possible that some other plugin is interfering with it, maybe.
    Check your PHP logs in debug mode (or trace4 in apache).

Viewing 1 replies (of 1 total)
  • The topic ‘Issue on Facebook Messenger Browser because of optimization’ is closed to new replies.