zerod10 Posted July 12, 2016 Share Posted July 12, 2016 Hi, i'm using Prestashop 1.6.1.5 default template b2b enabled. I nerd to remove SIRET and APE field from the registration page (and all the others pages) Already try do edit the file : //themes/default-bootstrap/authentication.tpl on lin e 531 <!-- <p class="form-group"> <label for="siret">{l s='SIRET'}</label> <input type="text" class="form-control" id="siret" name="siret" value="{if isset($smarty.post.siret)}{$smarty.post.siret}{/if}" /> </p> <p class="form-group"> <label for="ape">{l s='APE'}</label> <input type="text" class="form-control" id="ape" name="ape" value="{if isset($smarty.post.ape)}{$smarty.post.ape}{/if}" /> </p> --> nothing changed, the feeds are still there. Any suggestions? Thanks Link to comment Share on other sites More sharing options...
nomealternativo Posted July 13, 2016 Share Posted July 13, 2016 Hi, what is your prestashop version? I did the exactly the same change and it worked, I use version 1.6.1.4. If you use a custom theme, make sure to make this change in the correct directory: //themes/YOUR-THEME/authentication.tpl Regards, Francesco: Link to comment Share on other sites More sharing options...
zerod10 Posted July 13, 2016 Author Share Posted July 13, 2016 Hi, what is your prestashop version? I did the exactly the same change and it worked, I use version 1.6.1.4. If you use a custom theme, make sure to make this change in the correct directory: //themes/YOUR-THEME/authentication.tpl Regards, Francesco: Hi, i'm using Prestashop 1.6.1.5 default template and maybe you are Italian? (come me) Link to comment Share on other sites More sharing options...
jsteele Posted September 11, 2016 Share Posted September 11, 2016 Come on Prestashop Team. This is a big problem for USA B2B sellers. We need a fix to this and Tax ID vs Vat. 1 Link to comment Share on other sites More sharing options...
BobPour Posted September 14, 2016 Share Posted September 14, 2016 Come on Prestashop Team. This is a big problem for USA B2B sellers. We need a fix to this and Tax ID vs Vat. +1 Totally agree. Please fix. it's a nightmare.. dealing with translation after upgrade and remembering which one to rename Please Link to comment Share on other sites More sharing options...
BobPour Posted September 14, 2016 Share Posted September 14, 2016 sorry forgot to add: @zerod10; Did you clear your cache after you delete those lines? I did the exact same thing and SIRET and APR are gone [from the registration form] but i had to clear the Cache before seeing the effect... 1 Link to comment Share on other sites More sharing options...
rubberdubdub Posted October 27, 2016 Share Posted October 27, 2016 you have to edit (best to remove the code) in authentication.tpl and identity.tpl in the theme you are using, Siret and Ape will be gone from the registration page and also from inside the customers account. This is what you delete: <p class="form-group"> <label for="siret">{l s='SIRET'}</label> <input type="text" class="form-control" id="siret" name="siret" value="{if isset($smarty.post.siret)}{$smarty.post.siret}{/if}" /> </p> <p class="form-group"> <label for="ape">{l s='APE'}</label> <input type="text" class="form-control" id="ape" name="ape" value="{if isset($smarty.post.ape)}{$smarty.post.ape}{/if}" /> </p> Link to comment Share on other sites More sharing options...
ebyo Posted November 24, 2016 Share Posted November 24, 2016 (edited) Hi I am using PS 1.6.1.9, I removed in authentication.tpl and identity.tpl the code: <p class="form-group"> <label for="siret">{l s='SIRET'}</label> <input type="text" class="form-control" id="siret" name="siret" value="{if isset($smarty.post.siret)}{$smarty.post.siret}{/if}" /> </p> <p class="form-group"> <label for="ape">{l s='APE'}</label> <input type="text" class="form-control" id="ape" name="ape" value="{if isset($smarty.post.ape)}{$smarty.post.ape}{/if}" /> </p> But i still see the two textfiels SIRET and APE. Ok, I found the answer here: https://www.prestashop.com/forums/topic/530997-eliminare-i-campi-siret-ed-ape/?p=2389954 Edited November 24, 2016 by ebyo (see edit history) 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