Jump to content

Remove TAX IDENTIFICATION


Recommended Posts

To remove gop to theme>default>authentication.tpl

 

Found and remove:

 

{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

 

Link to comment
Share on other sites

  • 5 months later...

Hi All,

 

 

I am also having the same issue.

 

I have set-up a shop for Australia, and have changed backoffice>localization>countries and have updated Australia to "

Do you need a tax identification number?

" to "No", however, this option is still shown during the registration process.

 

Here in Australia, a Tax Identification Number (Referred to as an ABN number) is only required by Australian Business when purchasing Wholesale so Goods and Servirces Tax (GST) is not charged.

 

Does anyone know how to turn this off during the registration process so it is not shown to the customer at all?

 

I have tried editing the themes>default>authentication.tpl file, and removed the entire code below:

 

 

<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>

</p>

</fieldset>

 

Still this did not have any change and the field was still shown during the registration process. Any help would be greatly appreciated.

post-531169-0-85115900-1365114684_thumb.jpg

Link to comment
Share on other sites

I'm running 1.5.4.0 with default theme (ie. no manual changes to code) and cannot find any way of removing it.

After much frustration I decided to modify the code as per my first post, but it had no effect.

 

I'm hoping someone can provide some assistance. I don't mind updating code (although I prefer not to) just to get rid of this, as it is quite embarrassing. I was thinking of putting a comment on my page (through Text Editor add-on) advising to not pay any attention to this field.

 

Thanks all!

Link to comment
Share on other sites

Hi All,

 

 

I am also having the same issue.

 

I have set-up a shop for Australia, and have changed backoffice>localization>countries and have updated Australia to "

Do you need a tax identification number?

" to "No", however, this option is still shown during the registration process.

 

Here in Australia, a Tax Identification Number (Referred to as an ABN number) is only required by Australian Business when purchasing Wholesale so Goods and Servirces Tax (GST) is not charged.

 

Does anyone know how to turn this off during the registration process so it is not shown to the customer at all?

 

I have tried editing the themes>default>authentication.tpl file, and removed the entire code below:

 

 

<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>

</p>

</fieldset>

 

Still this did not have any change and the field was still shown during the registration process. Any help would be greatly appreciated.

 

 

 

This should do the trick, If you deleted this from the authentication.tpl file make sure you turn on force compile and turn cache off in BO.

Chrome can be quit stubborn about this at times so clear your history and it never hurts to clear your cache and compile folders located ..cache/smarty of your Presashop install. (do not delete the index.php from these folders)

If you deleted the above text and it still shows one of two things is happening, you are viewing cached pages in the browser or your did not delete from right file ie(using different theme).

Link to comment
Share on other sites

Hi trd170,

 

 

Thanks for the response.

 

Ok, what I tried was:

BO>Advanced Parameters>

I then turned "Off" CACHE

I then changed "Template Cache" to "Force Compilation" and hit "Save"

 

As suggested, I then cleared my Cache in Chrome, I then changed the themes>default>authentication.tpl file and removed the above code from it and saved.

 

I then located the CACHE\SMARTY folder and cleared both folders (I did not delete the index file as you suggested).

 

Still the field comes up. Are there any other files other than "authentication.tpl" which need to be updated? or is there another instance of the code which needs to be changed?

 

I appropriate your help! Thanks again! Would love to solve this issue once and for all.

Thanks!!

Link to comment
Share on other sites

There actually is a fix for this edit your themes/yourtheme//css/authentication.css file and add the following lines.

In this way you do not have to delete the lines from the TPL file.

 

copy and paste this to the css file and all should be good.

 

 

 

 

#account-creation_form .id_state, #account-creation_form .dni, #account-creation_form .postcode {

display: none;

}

Edited by tdr170 (see edit history)
  • Like 3
Link to comment
Share on other sites

I'm running 1.5.4.0 with default theme (ie. no manual changes to code) and cannot find any way of removing it.

After much frustration I decided to modify the code as per my first post, but it had no effect.

 

I'm hoping someone can provide some assistance. I don't mind updating code (although I prefer not to) just to get rid of this, as it is quite embarrassing. I was thinking of putting a comment on my page (through Text Editor add-on) advising to not pay any attention to this field.

 

Thanks all!

 

 

I have not seen this with 1.5.4 as the CSS file was fixed check you file and see if the line above exist.

Also check in the back office under localization, countries, edit yours and scroll to bottom and make sure Do you need tax identification number is set to NO.

Link to comment
Share on other sites

There actually is a fix for this edit your themes/yourtheme//css/authentication.css file and add the following lines.

In this way you do not have to delete the lines from the TPL file.

 

copy and paste this to the css file and all should be good.

 

 

 

 

#account-creation_form .id_state, #account-creation_form .dni, #account-creation_form .postcode {

display: none;

}

 

 

well done!

It works for me by adding this line to the file /authentication.css, "identification number" was already set to "NO" in BO.

 

Thank you!!!

Link to comment
Share on other sites

There actually is a fix for this edit your themes/yourtheme//css/authentication.css file and add the following lines.

In this way you do not have to delete the lines from the TPL file.

 

copy and paste this to the css file and all should be good.

 

 

 

 

#account-creation_form .id_state, #account-creation_form .dni, #account-creation_form .postcode {

display: none;

}

 

Thank you! Works just fine! I put the TPL file back to normal, and only edited the CSS file as you described!! Thanks so much! You've saved me a headache!! Legend!! Thank you! :)

Link to comment
Share on other sites

  • 1 month later...

There actually is a fix for this edit your themes/yourtheme//css/authentication.css file and add the following lines.

In this way you do not have to delete the lines from the TPL file.

 

copy and paste this to the css file and all should be good.

 

 

 

 

#account-creation_form .id_state, #account-creation_form .dni, #account-creation_form .postcode {

display: none;

}

 

I've been searching High and Low on how to disable this BIG UPS!!!

Link to comment
Share on other sites

×
×
  • Create New...