Add a checkbox "I have read and agree to the "

Posted by: Steve Bateman

7th October 2021, 5:52 pm

Steve Bateman

@Misterbates

7 Oct 2021
5:52 pm

I've just been working on my Terms and Conditions, which spell out (for each of my product groups - software licenses, webinar tickets, free downloads) the conditions under which those items are provided. For the paid items, Woo Commerce requires users to indicate that they've agreed to the Terms and Conditions - but with Free Downloads, I can't see a way to force this confirmation prior to clicking (or once the user has clicked) the [Download] button.

Is there a way to do this (noting that ideally the <terms and conditions> text should show the title of the Terms and Conditions page [already identified to Woo Commerce] and should be a clickable URL that would show the page in a separate tab).

Thanks!

  • Developer
    Richard Webster

    @rwebster

    7 Oct 2021
    6:28 pm

    You need to enable Download Tracking settings, and enable requiring guests give their email. Also tick the box to require email from registered users. This creates a pop-up on download where the users email is input (or populated) and another download button is shown.

    Once that's done you then set up manual newsletter sign up. This opens up the Newsletter Settings, which lets you add a "Required Checkbox with Text" option. In that textbox you can put any text you like, such as "Agree to these terms (link)".

    It seems a little complicated but it's repurposing a solution that wasn't made for this, but works fine for it.

  • Steve Bateman

    @Misterbates

    8 Oct 2021
    7:22 am

    Fantastic ... almost there. Is there any way to make the required textbox text show a clickable link?

    I tried: I confirm I agree to the <a href="https://pivotal-ii.com/terms-of-sale/" target="_blank">Terms of Sale</a>

    But it showed the entire text, rather than interpreting it as an HTML fragment...

    Thanks Richard!

  • Steve Bateman

    @Misterbates

    8 Oct 2021
    7:36 am

    No worries - I figured out I can customise the text in the popup box to include a link, leaving the required textbox text to be just text 🙂

  • Developer
    Richard Webster

    @rwebster

    8 Oct 2021
    8:15 am

    Good stuff mate 🙂 Glad you've got it set up just right now.