Support » Plugin: Facebook for WooCommerce » GDPR and FB Chat

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Pit Bozionelos

    (@pitbozionelos)

    Hey Ronny ( @ronnyadsetts ),

    Thank you very much for reaching out to us. Happy to help you with your question!

    First, my apologies for the delay in my response. We’ve been experiencing a high support volume lately, which has definitely slowed us down. We’re working feverishly to reach out to all merchants and actively hiring new team members, so we should be back to our usual response time soon! I really appreciate your patience!

    Regarding your request, we haven’t fully tested the following process on our end, but this can act as a great starting point if you’d like to proceed. You can filter the following:

    
    /**
    		 * Filters whether the Facebook messenger is enabled.
    		 *
    		 * @since 1.10.0
    		 *
    		 * @param bool $is_enabled whether the Facebook messenger is enabled
    		 * @param \WC_Facebookcommerce_Integration $integration the integration instance
    		 */
    		return (bool) apply_filters( 'wc_facebook_is_messenger_enabled', 'yes' === get_option( self::SETTING_ENABLE_MESSENGER ), $this );

    so it’ll return false until the cookie is accepted, and then passing the value of $is_enabled instead if you still want to leave it disabled via plugin settings.

    For reference, that’s called during the inject_messenger_chat_plugin() function which is hooked into wp_footer, so when it returns true, it will print out the HTML div and script to load messenger.

    Would you please let me know if the above is helpful? Anything else I can help you with?

    Best regards,

    Pit
    SkyVerge

    Plugin Support Julie Martin

    (@julieskyverge)

    Hi there, @ronnyadsetts!

    We haven’t heard back from you in some time, so I’m going to mark this topic as resolved. If you’re still experiencing issues please take a look at our documentation for more information and create a new thread if you have further questions.

    Thank you so much,

    Julie 🙂
    SkyVerge

    Thread Starter Ronny Adsetts

    (@ronnyadsetts)

    Hi,

    Thanks, your reply looks good and most likely solves our issue. Just been stuck on another project and unable to look at this issue again.

    Thanks.

    Ronny

    Plugin Support Julie Martin

    (@julieskyverge)

    Hey Ronny ( @ronnyadsetts ),

    Sure thing, feel free to come back if things don’t work out, whenever you’ve got a chance.

    Thank you!

    Julie 🙂
    SkyVerge

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘GDPR and FB Chat’ is closed to new replies.