Jump to content

Pre-tick on subsription box at INSTANT CHECKOUT


Recommended Posts

Hello!

 

I was just wondering if there is a way to configure "INSTANT CHECKOUT" form by putting a tick on subscription box by default so a visitor has to un-tick it if he/she doesn't want to be included into mailing list.

Another important thing has also to be added: a text in parentheses below (un-click if you do not want... etc.)

 

Thank you!

Link to comment
Share on other sites

In your theme folder open the authentication.tpl and search for this line

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

replace it with this line

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

There should be two instances of that line in the file one for regular checkout and one for the opc, I would just change it for both. 

Link to comment
Share on other sites

  • 3 weeks later...

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...