ID;
$courier = get_post_meta( $order_id, '_tabblin_courier_name', true );
$tracking = get_post_meta( $order_id, '_tabblin_tracking_number', true );
$link = get_post_meta( $order_id, '_tabblin_tracking_link', true );
wp_nonce_field( 'tabblin_save_tracking', 'tabblin_tracking_nonce' );
?>
' . esc_html( $item->get_name() ) . ' × ' . esc_html( $item->get_quantity() ) . ' ';
}
$result_html .= '
';
$result_html .= '' . esc_html( $status ) . '';
$result_html .= '
';
}
}
?>
Order #' . esc_html( $order->get_order_number() ) . '
'; $result_html .= 'Placed on ' . esc_html( $date_created ) . ' · Total: ' . $total . '
'; $result_html .= '- ' . $items_html . '
';
$result_html .= 'COURIER
';
} else {
$result_html .= '' . esc_html( $courier ?: 'N/A' ) . '
'; $result_html .= 'TRACKING NUMBER' . esc_html( $tracking_no ) . '
'; if ( $tracking_url ) { $result_html .= 'Track Shipment'; } $result_html .= 'Your order is being prepared. Tracking details will appear here once it ships.
'; } $result_html .= 'Track Your Order
Enter your order number and the email used at checkout.