Jump to content

How to make the newsletter check box automatically checked during checkout?


ajensen27

Recommended Posts

(if you use 1.5.3.1), its in the file /themes/<your theme folder>/order-opc-new-account.tpl

 

Around line 172 you find:

 

 

<p class="checkbox">

<input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($guestInformations) && $guestInformations.newsletter}checked="checked"{/if} />

<label for="newsletter">{l s='Sign up for our newsletter'}</label>

</p>

<p class="checkbox" >

<input type="checkbox"name="optin" id="optin" value="1" {if isset($guestInformations) && $guestInformations.optin}checked="checked"{/if} />

<label for="optin">{l s='Receive special offers from our partners'}</label>

</p>

 

 

Take out the red {if...} lines.

 

Hope that helps,

Pascal

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...