Jump to content

remove SIRET and APE field


Recommended Posts

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

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

  • 1 month later...
  • 1 month later...

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

  • 4 weeks later...

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.

 

:wacko:

 

Ok, I found the answer here:

 

https://www.prestashop.com/forums/topic/530997-eliminare-i-campi-siret-ed-ape/?p=2389954

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...