dixie Posted December 29, 2011 Share Posted December 29, 2011 On the registration form, how do I remove the line as mentioned above. This line is not relative to my website. Can the tpl file have that line commented out? If so, what tpl file? I'm not a coder, but can follow directions okay. I would like to remove the "receive special offers from partners". Also, if possible, remove the birthday information. Thank you for any help with this. 1 Link to comment Share on other sites More sharing options...
bellini13 Posted December 29, 2011 Share Posted December 29, 2011 edit your themes authentication.tpl file located under /themes/<theme_name> folder. just search for "Receive special offers from our partners" within that template file. you will find it is in there twice, remove them both. <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> <p class="checkbox" > <input type="checkbox"name="optin" id="optin" value="1" {if isset($smarty.post.optin) AND $smarty.post.optin == 1} checked="checked"{/if} /> <label for="optin">{l s='Receive special offers from our partners'}</label> </p> you can delete those 2 code blocks, or comment them out by putting the blocks within {* *}, so it would look like. {* <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> *} 6 Link to comment Share on other sites More sharing options...
dixie Posted December 29, 2011 Author Share Posted December 29, 2011 Thank you! I had the right idea, but I was putting the comments in the wrong place. I was putting them in front of and behind the <p and </p> You made my day. Link to comment Share on other sites More sharing options...
MYFRENCHNEIGHBOR Posted March 16, 2012 Share Posted March 16, 2012 Thanks, Works perfectly Link to comment Share on other sites More sharing options...
lordshop Posted April 23, 2012 Share Posted April 23, 2012 thanks Link to comment Share on other sites More sharing options...
sabio Posted May 28, 2012 Share Posted May 28, 2012 Hi and thanks for the post! What about the fast check-out? Link to comment Share on other sites More sharing options...
thijs789 Posted August 26, 2012 Share Posted August 26, 2012 (edited) Hi and thanks for the post! What about the fast check-out? I have the same question, do you already know the answer. I have literally searched all .tpl files but can not find it. Thanks in advance, Thijs Update: i have added a picture to make sure everybody know's which 'special offer' i meant. Edited August 26, 2012 by thijs789 (see edit history) Link to comment Share on other sites More sharing options...
scruft Posted November 22, 2012 Share Posted November 22, 2012 Hi and thanks for the post! What about the fast check-out? Not sure if this has been figured out already, but the file to look at is order-opc-new-account.tpl "OPC" = "One Page Checkout" Just did it and works fine. Link to comment Share on other sites More sharing options...
aliaspt Posted December 2, 2012 Share Posted December 2, 2012 Not sure if this has been figured out already, but the file to look at is order-opc-new-account.tpl "OPC" = "One Page Checkout" Just did it and works fine. Thanks so much, it worked! Link to comment Share on other sites More sharing options...
nml.me Posted February 18, 2013 Share Posted February 18, 2013 Thanks so much, it worked! It worked for me Ps 1.5.3 thanks Link to comment Share on other sites More sharing options...
love-vaping Posted October 17, 2013 Share Posted October 17, 2013 Worked with 1.5.4.1 Thank you for this!!! Link to comment Share on other sites More sharing options...
dianix416 Posted November 4, 2013 Share Posted November 4, 2013 Thank you! It worked perfectly! edit your themes authentication.tpl file located under /themes/<theme_name> folder.just search for "Receive special offers from our partners" within that template file. you will find it is in there twice, remove them both. <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> <p class="checkbox" > <input type="checkbox"name="optin" id="optin" value="1" {if isset($smarty.post.optin) AND $smarty.post.optin == 1} checked="checked"{/if} /> <label for="optin">{l s='Receive special offers from our partners'}</label> </p>you can delete those 2 code blocks, or comment them out by putting the blocks within {* *}, so it would look like. {* <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> *} Thank you! It worked perfectly! Link to comment Share on other sites More sharing options...
bloodysmily Posted February 28, 2014 Share Posted February 28, 2014 Hi, I work on PS 1.5.6.2, did all the modifications in the files, but have still the check boc for partners .... How can I delete this ? Thanks, Joel Link to comment Share on other sites More sharing options...
razorloves Posted April 7, 2014 Share Posted April 7, 2014 (edited) I've found this code in three different files in the default theme in prestashop 1.6.0.5, and had to remove it from each one for it to be completely gone. Just go to your theme folder and remove it from these files: authentication.tplorder-opc-new-account.tpl identity.tpl Edited April 7, 2014 by razorloves (see edit history) Link to comment Share on other sites More sharing options...
ewhale Posted September 11, 2014 Share Posted September 11, 2014 I've found this code in three different files in the default theme in prestashop 1.6.0.5, and had to remove it from each one for it to be completely gone. Just go to your theme folder and remove it from these files: authentication.tpl order-opc-new-account.tpl identity.tpl I confirm it works also with the 1.6.0.9 version Personnaly, I don not remove code but simply put it under {* code to hide *} and that works. So modify just 3 mentionned files above on your template and that is OK. Remind to hide or remove it twice on the authentification.tpl file... 1 Link to comment Share on other sites More sharing options...
redondo1 Posted April 6, 2015 Share Posted April 6, 2015 in the back office - preferences/customers there is a selection for enable opt-in, disable that to remove the 'special offers from partners'. no need to change code, but it also didnt make sense until i looked at the code that the optin field was related. 4 Link to comment Share on other sites More sharing options...
enricolino Posted February 27, 2016 Share Posted February 27, 2016 (edited) Good job, Redondo! Edited February 27, 2016 by enricolino (see edit history) Link to comment Share on other sites More sharing options...
Zahie Posted December 7, 2016 Share Posted December 7, 2016 dankeschön hat super geklappt 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