jonataslessa
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
Forum: Plugins
In reply to: [Facebook for WooCommerce] Plugin making call incorrectlySolved, thank you
Forum: Plugins
In reply to: [Facebook for WooCommerce] Plugin making call incorrectlyI checked here, it was a function I had implemented to disable the pixel events of the “Facebook for WooCommerce” plugin, as I use another plugin for the Pixel, below is what I used, what is the best way to disable the pixel events of the “Facebook for WooCommerce” plugin?
/** * This snippet will stop purchase events to fire on thank you page **/ add_action( 'woocommerce_init', function () { //get all WooCommerce integrations $integrations = WC()->integrations->get_integrations(); //checking if facebook for woocommerce installed? if ( isset( $integrations['facebookcommerce'] ) && $integrations['facebookcommerce'] instanceof WC_Facebookcommerce_Integration ) { /** * For version < 1.1.0 */ remove_action( 'woocommerce_thankyou', [ $integrations['facebookcommerce']->events_tracker, 'inject_gateway_purchase_event' ], $integrations['facebookcommerce']->events_tracker::FB_PRIORITY_HIGH ); /** * For version >= 1.1.0 */ remove_action( 'woocommerce_thankyou', [ $integrations['facebookcommerce']->events_tracker, 'inject_purchase_event' ], 40 ); }else{ if ( function_exists('facebook_for_woocommerce') ) { $event_track = facebook_for_woocommerce()->get_integration()->events_tracker; /** * For version >= 1.1.0 */ remove_action( 'woocommerce_thankyou', [ $event_track, 'inject_purchase_event' ], 40 ); remove_action( 'woocommerce_checkout_update_order_meta', [ $event_track, 'inject_purchase_event' ], 10 ); } } }, 999 );
Forum: Plugins
In reply to: [Counter live visitors for WooCommerce] disable pulse movementI got with
.wcv-message.wcv-animation-on {
transform: none;
}Forum: Plugins
In reply to: [WooCommerce - Pagar.me] PIXQuando vai sai nova vers?o para usar PIX para woocommerce?
Forum: Plugins
In reply to: [Melhor Envio] Problemas Críticos no Diagnóstico do WordPressIgualmente o problema aqui.
Forum: Plugins
In reply to: [Super Page Cache] login page does not redirect when you login
Viewing 6 replies - 1 through 6 (of 6 total)