Move Captcha on WooCommerce Checkout Form


Home Forums Advanced noCaptcha & invisible Captcha PRO Move Captcha on WooCommerce Checkout Form

This topic is: Not Resolved

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #37523
    Kathleen Speckhard
    Participant

    Hello,

    I would like to move the captcha so that it is more visible. Right now, it floats off to the left and people miss it. I would like to move it above the “Place Order button.” Are there hooks – can this be done? Maybe put it after the terms and conditions.

    Attachments:
    You must be logged in to view attached files.
    #37547
    Shamim Hasan
    Keymaster

    Thank you for contacting.
    Sorry, it is not possible. It can be shown above the payment options, But i think that is too much above.

    #37551
    Kathleen Speckhard
    Participant

    How would we move it above the Payment options if I wanted to try that?

    #37565
    Shamim Hasan
    Keymaster

    You can add following code in your theme’s (child theme’s if you are using) functions.php

    add_action( 'init', function(){
        remove_action( 'woocommerce_checkout_after_order_review', array( anr_captcha_class::init(), 'wc_form_field' ) );
        add_action( 'woocommerce_checkout_before_order_review', array( anr_captcha_class::init(), 'wc_form_field' ) );
    });
    

    You can also use another action hook instead of woocommerce_checkout_before_order_review for other locations. See other action hooks in https://docs.woocommerce.com/document/tutorial-customising-checkout-fields-using-actions-and-filters/

Viewing 4 posts - 1 through 4 (of 4 total)

You need to purchase ‘Advanced noCaptcha & invisible Captcha PRO’ to create topic in this support forum.

If you already purchased ‘Advanced noCaptcha & invisible Captcha PRO’ please LOGIN.