Subscribe to newsletter checkbox

Subscribe to newsletter checkbox

An opt-in checkbox on the checkout that allows a user to subscribe to the newsletter.

Coding instructions

Open up your onepage.template.html checkout page via themename > cart > onepage.template.html.

Then anywhere within the page (Though we recommend either the billing section near the email address or adjacent the terms / conditions box if you have it.) add the following code:

<div class="form-group">
    <div class="control-label col-xs-12 col-sm-4"> </div>
    <div class="col-xs-12 col-sm-8">
        <label for="regoptin">
      <input name="regoptin" id="regoptin" type="checkbox" value="Y" checked data-message=""/> Subscribe To Newsletter?
      <p><span class="text-muted small">(You can unsubscribe at any time)</span></p>
    </label>
    </div>
</div>

Was this article useful?

Be notified when this page is updated. Optional.