Dear @M.,
We hope this message finds you well.
Kindly add the following code to the functions.php file located within your child theme:
add_action('woocommerce_review_order_before_payment', 'n2t_woocommerce_review_order_before_order_total', 999);
function n2t_woocommerce_review_order_before_order_total(){
echo 'Your Custom Text';
}
This code will display your custom text before the payment section on the checkout page.
For your reference, a comprehensive list of available WooCommerce checkout hooks can be found at the following link:
https://www.businessbloomer.com/woocommerce-visual-hook-guide-checkout-page/
Should you have any further questions or require assistance, please do not hesitate to contact us.
Best regards,
The 8Theme Team















