Jump to content

Subscribe To Newsletter On Order Page


Recommended Posts

I have commented out the subscribe to newsletter on my order page in the authentication.tpl file (see below). I would however like those buyers to automatically be added to my newsletter. How can I do this?

 

{*

                    <p class="checkbox">
                        <input type="checkbox" name="newsletter" id="newsletter" value="1" if isset($smarty.post.newsletter) && $smarty.post.newsletter == '1'}checked="checked"{/if} />
                        <label for="newsletter">{l s='Sign up for our newsletter!'}</label>
                    </p>
*}

Link to comment
Share on other sites

Please note that something like this is usally illegal, the customer should explicitly agree to subscription etc.

 

But if you want you can uncomment it, add checked="ckecked" and hide it in css, it will be checked for every user.

Link to comment
Share on other sites

So, let me make sure I understand. I uncomment the code above and then add checked="checked" after it? None of the rest of that code has to be modified?

 

By hide it in css, you're saying hide it from displaying, correct? Can you tell me how to do that?

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