CharlotteCeramics Posted November 11, 2011 Share Posted November 11, 2011 When creating an account to purchase items on my store, there is a tick box with "Receive special offers from our partners", can this be removed? 1 Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 11, 2011 Share Posted November 11, 2011 Hi Charlotte, You can remove this via FTP by removing the following string from your theme's authentication.tpl, identity.tpl and order-opc-new-account.tpl files: </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> You will find it twice in the authentication.tpl file and once in the other two. Once you've done that, please be sure to delete the contents of your tools/smarty/cache and tools/smarty/compile folders for you EXCEPT for your index.php file, and then you should be good to go! I hope this helps. -Mike 1 Link to comment Share on other sites More sharing options...
CharlotteCeramics Posted November 12, 2011 Author Share Posted November 12, 2011 Thanks very much for your help Mike, that seems to have worked Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 14, 2011 Share Posted November 14, 2011 I'm glad I could help! -Mike Link to comment Share on other sites More sharing options...
TheLoneInventor Posted December 2, 2011 Share Posted December 2, 2011 Hi Mike, Thanks for the fix! I have implemented it as well. A quick question however on deleting smarty cache - what's say I DID accidentally delete the index.php files? I followed the directions here http://www.templatemonster.com/help/prestashop-how-to-clear-smarty-cache.html which says "delete all files" before I re-read your post. I have replaced them from a backup, but is that enough? Thanks in advance, Steve Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 2, 2011 Share Posted December 2, 2011 Hi Steve, That's why we recommend that you always back up beforehand, good job ! If you've replaced it with the backup, you shouldn't have any issues, but if you do, just let me know and I'll look into it for you. I'm glad the fix worked for you as well. -Mike Link to comment Share on other sites More sharing options...
Pressed0024 Posted July 17, 2013 Share Posted July 17, 2013 Prestashop should consider making this checkbox optional or removing it. Having too many things to fill up and check makes the sign up/address form look too cluttered which creates more friction in the checking out process 1 Link to comment Share on other sites More sharing options...
RickyKidd Posted August 4, 2014 Share Posted August 4, 2014 Thank you! Hi Charlotte,You can remove this via FTP by removing the following string from your theme's authentication.tpl, identity.tpl and order-opc-new-account.tpl files: </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> You will find it twice in the authentication.tpl file and once in the other two. Once you've done that, please be sure to delete the contents of your tools/smarty/cache and tools/smarty/compile folders for you EXCEPT for your index.php file, and then you should be good to go!I hope this helps.-Mike 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. 1 Link to comment Share on other sites More sharing options...
mdaldoss Posted September 14, 2015 Share Posted September 14, 2015 Works like a charm (with some difference on the version) in 1.6.1.1 Link to comment Share on other sites More sharing options...
tharo Posted August 17, 2017 Share Posted August 17, 2017 Just in case some 1.7 users were wondering: You can simply remove this thing via admin panel. Just go to Shop Parameters > Customer Settings and switch off "Partner Options" or whatever its called. Then the Checkbox will disappear. 5 Link to comment Share on other sites More sharing options...
Recommended Posts