Antakarana Posted November 27, 2012 Share Posted November 27, 2012 (edited) Hi everybody, I have realized that in our shop when a customer tries to create a new account he can't see any thickbox option to allow customers to subscribe to our newsletter or recieve offerts. See the attached file... I've checked the identity.php file from our template and it seems to be correct: {if $newsletter} <p class="checkbox"> <input type="checkbox" id="newsletter" name="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> <p class="checkbox"> <input type="checkbox" name="optin" id="optin" value="1" {if isset($smarty.post.optin) && $smarty.post.optin == 1} checked="checked"{/if} /> <label for="optin">{l s='Receive special offers from our partners'}</label> </p> {/if} <p class="submit"> <input type="submit" class="button" name="submitIdentity" value="{l s='Save'}" /> </p> <p id="security_informations"> {l s='[insert customer data privacy clause or law here, if applicable]'} </p> I've also checked the overide folder and it doesn't makes any reference to the previous code so whats wrong then?? Thanks in advance! url from the shop: http://nutri-cosmetica.com Edited November 27, 2012 by Antakarana (see edit history) Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted November 27, 2012 Share Posted November 27, 2012 Hi, did you enable module "blocknewsletter"? Regards Link to comment Share on other sites More sharing options...
Antakarana Posted November 27, 2012 Author Share Posted November 27, 2012 (edited) Hi, did you enable module "blocknewsletter"? Regards Thank for your answer.... Yes I enable it. Actualy I have 2 newsletter modules, one from the default theme (it's not enable) and other one that came with the template (it's enabled)... Maybe that's the problem? EDIT: That was the problem...... I just enable the default newsletter module and then the options appeared... The problem now is that I have 2 newsletter blocks enabeled and I don't know if that would be a problem. Thanks! Edited November 27, 2012 by Antakarana (see edit history) Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted November 27, 2012 Share Posted November 27, 2012 You didn't see newsletter options, because IdentytyController::init Content has the line: $this->context->smarty->assign('newsletter', (int)Module::getInstanceByName('blocknewsletter')->active); 1 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