cartuser Posted July 8, 2011 Share Posted July 8, 2011 How can i remove the DNI / NIF / NIE information which is asked during checkout. I dont want the cart to ask this information at all..Please help. Link to comment Share on other sites More sharing options...
shokinro Posted July 8, 2011 Share Posted July 8, 2011 you can set it a default value and then hide it.to hide add style="display:none" to the HTML tag of DNI Link to comment Share on other sites More sharing options...
cartuser Posted July 8, 2011 Author Share Posted July 8, 2011 I dont understand that, can you please be a bit more specific, and tell me the paths to do it from...Thanks,Peeyush Link to comment Share on other sites More sharing options...
shokinro Posted July 8, 2011 Share Posted July 8, 2011 here is one example of changes on authentication.tplwhich is located at YourStoreRoot/themes/prestashop/authentication.tplbefore changes {l s='Tax identification'} {l s='Identification number'} <input type="text" class="text" name="dni" id="dni" value="{if isset($smarty.post.dni)}{$smarty.post.dni}{/if}" /> {l s='DNI / NIF / NIE'} * After changes {l s='Tax identification'} {l s='Identification number'} <input type="text" class="text" name="dni" id="dni" value="dummy" /> {l s='DNI / NIF / NIE'} * You will noticed that I set the style="display:none;" for fieldset tagand set default to dummy.Please note, in the same file, there are two locations, for different mode.one is for normal 5 steps checkout and another one is for one page checkout. Link to comment Share on other sites More sharing options...
Devendra Posted January 4, 2015 Share Posted January 4, 2015 here is one example of changes on authentication.tpl which is located at YourStoreRoot/themes/prestashop/authentication.tpl before changes <fieldset class="account_creation dni"> <h3>{l s='Tax identification'}</h3> <p class="required text"> <label for="dni">{l s='Identification number'}</label> <input type="text" class="text" name="dni" id="dni" value="{if isset($smarty.post.dni)}{$smarty.post.dni}{/if}" /> <span class="form_info">{l s='DNI / NIF / NIE'}</span> <sup>*</sup> </p> </fieldset> After changes <fieldset class="account_creation dni" style="display:none;"> <h3>{l s='Tax identification'}</h3> <p class="required text"> <label for="dni">{l s='Identification number'}</label> <input type="text" class="text" name="dni" id="dni" value="dummy" /> <span class="form_info">{l s='DNI / NIF / NIE'}</span> <sup>*</sup> </p> </fieldset> You will noticed that I set the style="display:none;" for fieldset tag and set default to dummy. Please note, in the same file, there are two locations, for different mode. one is for normal 5 steps checkout and another one is for one page checkout. Hi I am facing the same problem with new customer registration form. I searched as u said in YourStoreRoot/themes/prestashop/authentication.tpl but I cant find this file in cpanel. Please help Link to comment Share on other sites More sharing options...
shokinro Posted January 4, 2015 Share Posted January 4, 2015 the post is pretty old, it was for old version of PrestaShop. for latest version of the prestashop, the default theme folder is different YourStoreRoot/themes/YourStoreTheme/authentication.tpl by default, it is "default-bootstrap" folder now Link to comment Share on other sites More sharing options...
Devendra Posted January 4, 2015 Share Posted January 4, 2015 the post is pretty old, it was for old version of PrestaShop. for latest version of the prestashop, the default theme folder is different YourStoreRoot/themes/YourStoreTheme/authentication.tpl by default, it is "default-bootstrap" folder now hello, thanks but I am using Prestashop 1.4.8.3. Link to comment Share on other sites More sharing options...
shokinro Posted January 4, 2015 Share Posted January 4, 2015 for PrestaShop 1.4x, the default theme name is "default", unless you installed and using other themes YourStoreRoot/themes/default/authentication.tpl Link to comment Share on other sites More sharing options...
CSEpe Posted February 18, 2016 Share Posted February 18, 2016 (edited) Not working in v1.6.1.1Tried it with v 1.6.1.1 and v 1.6.1.3 Localization --> Countries -- Edit. Whatever you do most things don't change.In 1.6.1.3 I have no ID field and in the other one I do and can't remove ID field it.States YES or No has no effect.Only seems to effect the Invoice address and NOT instant checkout.Solution: Edit themes/yourtheme/order-opc-new-account.tpl (For guest and new accounts)Tip: first change it to .php so its easier to edit. After saving change it back to . tplExample (leave out the ID field) :<!-- {if !$dniExist} <div class="required dni form-group"> <label for="dni">{l s='Identification number'} <sup>*</sup></label> <input type="text" class="text form-control validate" name="dni" id="dni" data-validate="isDniLite" value="{if isset($guestInformations) && isset($guestInformations.dni) && $guestInformations.dni}{$guestInformations.dni}{/if}" /> <span class="form_info">{l s='DNI / NIF / NIE'}</span> </div> {/if} -->Remove it or place <!-- and --> Edited February 18, 2016 by CSEpe (see edit history) 1 Link to comment Share on other sites More sharing options...
SOREPE ARTESANATOS Posted July 6, 2016 Share Posted July 6, 2016 Olá, eu sou iniciante tambem quero remover a verificação do DNI, tanto para clinete como para fabricante, fornecedores e armazem, minha versão e 1.6.1.6 poderiam por favor me ajudar? Não sou entendida no assunto, mas me esforçarei para consegui. desde ja agradeço. Link to comment Share on other sites More sharing options...
cyc1989 Posted September 27, 2016 Share Posted September 27, 2016 Hi, i facing the same problem with PS 1.6.1.7.I had tried all the solutions above but none of it helped. Hope someone can try to save me from this. Thanks in advance Link to comment Share on other sites More sharing options...
Recommended Posts