Hi, is possible add custom text into checkout page after payment methods?
Thanks
This topic has 5 replies, 2 voices, and was last updated 4 days, 4 hours ago ago by M.
Hi, is possible add custom text into checkout page after payment methods?
Thanks
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
Hi, with woocommerce_review_order_before_payment the text is placed belowe coupon box, is possible display it above?
Dear @M.,
Thank you for reaching out.
Unfortunately, the available hooks for the checkout page are limited to those listed on the following page:
https://www.businessbloomer.com/woocommerce-visual-hook-guide-checkout-page/
We kindly recommend testing each hook individually to determine its functionality in your specific setup.
Best regards,
The 8Theme Team
Thanks for the support! My topic “Add test into checkout after payment methods” has been successfully resolved.
The issue related to '‘Add test into checkout after payment methods’' has been successfully resolved, and the topic is now closed for further responses