Jump to content

When a customer Registers, I want ot set the default Newsletter option be ticked "yes"...


Recommended Posts

Hi guys

 

I want to set the default "Sign up for our newsletter" when a new customer Registers during the checkout step to be "ticked" (yes).

 

Here is the code from the "order-opc-new-account.tpl" file:

 

 

{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>
                        </div>

 

Can somebody please show me what I need to change to make this happen??

 

Thanks very much.

 

Regards

Greg

Link to comment
Share on other sites

Not sure how to do it, but I do know that it really annoys me on websites when i have to look carefully to untick those boxes. You may upset many customers. I had thought I had seen some news article recently saying that it had been made illegal in the UK. (I may be wrong though)

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