WordPress.org

Ready to get started?Download WordPress

Forums

GetResponse Integration
[resolved] Checkbox at Checkout ticked by default? (6 posts)

  1. technolife
    Member
    Posted 5 months ago #

    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

    http://wordpress.org/plugins/getresponse-integration/

    https://wordpress.org/plugins/getresponse-integration/

  2. GetResponse
    Member
    Plugin Author

    Posted 5 months ago #

    Hi,

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

    But in your case

    checked="checked"

    should work :)

  3. technolife
    Member
    Posted 5 months ago #

    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

  4. GetResponse
    Member
    Plugin Author

    Posted 5 months ago #

    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 :)

  5. technolife
    Member
    Posted 5 months ago #

    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?

  6. GetResponse
    Member
    Plugin Author

    Posted 5 months ago #

    Hi,

    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.

Reply

You must log in to post.

About this Plugin

About this Topic