• Resolved robertstaddon

    (@robertstaddon)


    The current version of MailerLite (1.6.1) only sends a customer order to MailerLite after it has been “Completed”. In WooCommerce, an order is “Completed” after it has been fulfilled and shipped out. This means that customers who place paid orders that are “Processing” and have not yet been shipped out will receive MailerLite’s Abandoned Cart emails just as if they had never placed their order at all and still have products sitting in their cart! This is a huge problem for customers.

    The problem code starts at line 86 of hooks.php in this plugin:

    /**
     * Process order completed (and finally paid)
     *
     * @param $order_id
     */
    function woo_ml_process_order_completed( $order_id ) {
    
        if ( ! woo_ml_integration_setup_completed() )
            woo_ml_setup_integration();
    
        if ( ! woo_ml_old_integration() ) {
            woo_ml_send_completed_order($order_id);
        }
        
        woo_ml_process_order_tracking( $order_id );
    }
    add_action( 'woocommerce_order_status_completed', 'woo_ml_process_order_completed' );
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘MailerLite Abandoned Cart Emails Broken’ is closed to new replies.