Home / Admin / After Checkout Event In WooCommerce
Duplicate Snippet

Embed Snippet on Your Site

After Checkout Event In WooCommerce

This would stop sending cart abandonment campaigns to your push subscribers in the WooCommerce store as the purchase goal is completed.

Code Preview
php
<?php
add_action( 'woocommerce_thankyou', 'pe_wc_checkout_script', 10, 1);
function pe_wc_checkout_script($order_id) {
  $cart_campaign_name = 'Enter cart abandonment campaign name';
  do_action('pe_wpcode_wc_checkout_script', $order_id, $cart_campaign_name);
}

Comments

Add a Comment