Add test into checkout after payment methods

Solved4 replies2 participantsUpdated by M.

  • Avatar: Mauro Giorgi
    M.
    Participant

    Hi, is possible add custom text into checkout page after payment methods?
    Thanks

    Please, contact administrator
    for this information.

    4 Answers

    Avatar: Justin
    Luca Rossi
    Support staff

    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

    Avatar: Mauro Giorgi
    M.
    Participant

    Hi, with woocommerce_review_order_before_payment the text is placed belowe coupon box, is possible display it above?

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff

    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

    Avatar: Mauro Giorgi
    M.
    Participant

    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