AnarchyJim Posted July 28, 2015 Share Posted July 28, 2015 Is there a way to have the Newsletter checkbox selected by default when a customer is checking out? Currently the checkbox is not selected and I'd prefer it's on by default. Thanks, Jim Link to comment Share on other sites More sharing options...
NemoPS Posted July 29, 2015 Share Posted July 29, 2015 It should be enough to modify this snippet {if isset($newsletter) && $newsletter} <div class="checkbox"> <label for="newsletter"> <input type="checkbox" name="newsletter" id="newsletter" value="1"{if isset($guestInformations) && isset($guestInformations.newsletter) && $guestInformations.newsletter} checked="checked"{/if} autocomplete="off"/> {l s='Sign up for our newsletter!'}</label> {if array_key_exists('newsletter', $field_required)} <sup> *</sup> {/if} </div> {/if} In order-opc-new-account.tpl. THat's for the opc, I can't remember the other one off the top of my head Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now