I need to add an extra tick box to the payment page.

This topic has 7 replies, 3 voices, and was last updated 2 weeks ago ago by Tony Rodriguez

  • Avatar: nickporter
    nickporter
    Participant
    January 12, 2026 at 16:01

    Hi
    My payment processor has asked me to add an extra tick box to the payment page (see attached image).
    Some thing like “I confirm that I am over 18 ”
    Is this something that can be done in the theme? If not do I need a plugin to do this?
    Thanks
    Nick

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    6 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 12, 2026 at 18:42

    Hello @Nick,

    Thank you for contacting us.

    Adding an additional checkbox such as “I confirm that I am over 18” on the checkout page is not a built-in feature of the theme. However, it can be implemented either by customizing the checkout template or by using a plugin that allows adding custom fields to the checkout page.

    To add such a checkbox, you can copy the file plugins/woocommerce/checkout/terms.php to your-child-theme/woocommerce/checkout/terms.php and make the necessary modifications in the specified area: https://prnt.sc/3Qm5dqMI6EGn. You may use the existing terms content code as an example.
    For reference:
    Backend code: https://prnt.sc/Hqn5IYCmq26Y
    Frontend result: https://prnt.sc/EMz2DHIhJbg_

    Please note that for the checkbox to function correctly, you will also need to implement custom JavaScript validation.

    Kindly note that, in accordance with the Envato privacy policy, we do not provide additional customization services on our forum. However, we are always happy to offer guidance and suggestions for implementation, as shared above.

    Best regards,
    Jack Richardson
    8Theme Team

    Avatar: nickporter
    nickporter
    Participant
    January 12, 2026 at 19:45

    Hi Richard
    Thanks for that, I think doing that might be beyond my scope but I think I have found a work round I went to the page shown in the screen shot and just edited the the text at the bottom. As they would both need ticking I think one check box should satisfy the payment provider.
    Thanks for your help.
    Nick

    Files is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 13, 2026 at 07:06

    Hello @nickporter,

    Thank you for your message and for sharing the details. We appreciate your effort in finding a workaround and are glad to hear that you managed to make the necessary adjustment. If you need any further assistance or have additional questions, please don’t hesitate to let us know – we’ll be happy to help.

    Best Regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: nickporter
    nickporter
    Participant
    January 13, 2026 at 10:10

    Thanks
    Nick

    Avatar: nickporter
    nickporter
    Participant
    January 13, 2026 at 10:10

    Thanks for the support! My topic “I need to add an extra tick box to the payment page.” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    January 13, 2026 at 10:10

    Dear nickporter,

    We really appreciate your time and engagement within the WordPress & WooCommerce community

    Your feedback drives every improvement we make in XStore — helping us deliver a smoother and more flexible experience with each update.

    Your input makes a real difference.

    Topic closed.
    The 8Theme Team

  • Viewing 7 results - 1 through 7 (of 7 total)

The issue related to '‘I need to add an extra tick box to the payment page.’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.