metalice Posted December 25, 2011 Share Posted December 25, 2011 hi, i attached a screen shot. i would like to delete the recive special offer from partners. and to auto check newsletter option, also i would like to change the "sign up for our newsletter for something else, i mean to change the text . how do i do that? this is the site url: http://oritschatzmanstore.com thanks, Matan\ Link to comment Share on other sites More sharing options...
Snade Posted December 25, 2011 Share Posted December 25, 2011 Hello again to remove that checkbox, you need to remove this code from authentication.tpl, identity.tpl or order-opc-new-account.tpl if you use onepage check out. </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> To cahnge the text use the translations tool Merry christmas 1 Link to comment Share on other sites More sharing options...
metalice Posted December 26, 2011 Author Share Posted December 26, 2011 hi snade! thanks again man!! and about the autocheck the newsletter? i want it to be marked when somebody want to open an account. and the person wont be needed to mark it. so it will be "on" tnx Link to comment Share on other sites More sharing options...
Snade Posted December 26, 2011 Share Posted December 26, 2011 Simply add checked="yes" in the tpl <input id="newsletter" type="checkbox" checked="yes" name="newsletter" value="1"> Dont forget to add [solved] in the topic name, and also you can "like" my post if it was helpfull to you Cheers 1 Link to comment Share on other sites More sharing options...
metalice Posted December 27, 2011 Author Share Posted December 27, 2011 hi, <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> this is the code i have there. i tried to change checked to "yes" but it isnt working... Link to comment Share on other sites More sharing options...
Snade Posted December 27, 2011 Share Posted December 27, 2011 Hmm... if you delete the smarty code and leave the checked="checked" it will work, but I'm just noticing that there is some smarty code that can make this checked. So probably there is an option in the backoffice for this, or its connected to the platform in some other way... Delete - {if isset($smarty.post.newsletter) && $smarty.post.newsletter == 1} checked="checked"{/if} leave only che checked=checked, and let me know if it work. Try it ="yes" and ="checked" to see which is the right one. (probably both will work) Link to comment Share on other sites More sharing options...
Recommended Posts