Support » Plugins and Hacks » [Resolved] Checkbox at Checkout ticked by default?

[Resolved] Checkbox at Checkout ticked by default?

  • Hi guys,

    I installed the Getresponse Woocommerce Integration plugin and really need the checkbox at checkout to be TICKED by default

    Been trying everything, would really appreciate help on how to do this?

    I suspect I should change something in line 394 of getresponse_integration.php

    <input class=”input-checkbox” value=”1″ id=”checkout_checkbox” type=”checkbox” name=”checkout_checkbox”>

    Have tried inserting things like “checked” like this:

    <input class=”input-checkbox” value=”1″ id=”checkout_checkbox” type=”checkbox” name=”checkout_checkbox” checked>

    This makes the box appear checked at checkout but it the emails DO NOT get passed to the list, so I dont receive any welcome email and are not subscribed. Funnily enough if I manually untick the box and retick then it works

    Have tried other things like class=selected and no luck??

    Would really appreciate some help please?

    P.S. Have tried getresponse support and they are no help at all



Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author GetResponse



    We cannot change the plugin so the
    subscription box is checked by default,
    because this is a violation of the privacy

    But in your case


    should work 🙂

    Thanks for the reply, that does not work though, it only makes the box appear checked
    jquery appears to be needed
    This plugin should be updated to allow this
    I don’t understand how it is a violation of any privacy policy given users could just import their customers to email later, which many do

    Plugin should also sync the full customer and order data, again many third party api services do this

    Plugin Author GetResponse


    I guess you misunderstand me.
    I would like to note that this option is on WooCommerce side.
    In our plugin we just allow to add contact to GetResponse, but the
    checkbox is part of WooCommerce plugin.

    I found solution for you:
    Make a page called ‘policy’ or whatever you want, then go to WooCommerce > Settings > Pages and choose it from the ‘Terms Page’ dropdown.

    A checkbox will be added to your checkout automatically.

    Have a nice day 🙂

    Hi there,

    So that will add a checkbox to the woocommerce checkout about agreeing to terms and conditions?
    Does that affect the join newsletter checkbox?

    Plugin Author GetResponse



    I checked if it works when you simply add ‘ checked=”checked” ‘ to input
    and I would like to inform you that – yes, it works.
    Checkbox is checked and customer has been added successfully.

    During order on checkout page after submiting form is checked if there is
    param “checkout_checkbox” (this checkbox), if there is and value is 1 it
    means that customer has agreed to terms.
    If customer has agreed then we are able to add him to newsletter.

    I think the problem’s solved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Checkbox at Checkout ticked by default?’ is closed to new replies.