otreum Posted May 19, 2013 Share Posted May 19, 2013 Hello, I’m using version 1.5.4 and trying to delete field “company” in the users’ register form and I half achived it… I edited file address.tpl and left the following lines commented: <!--{if $field_name eq 'company'} <p class="text"> <input type="hidden" name="token" value="{$token}" /> <label for="company">{l s='Company'}</label> <input type="text" id="company" name="company" value="{if isset($smarty.post.company)}{$smarty.post.company}{else}{if isset($address->company)}{$address->company}{/if}{/if}" /> </p> {/if}--> With the steps above, the field “company” does not appear in the form,, however, when trying to register the user address, I get the following error: There is 1 error 1. Invalid tab What else should I delete in order not to get the error when registering the address? Hope you can help me. Thanks. Regards, Link to comment Share on other sites More sharing options...
shacker Posted May 23, 2013 Share Posted May 23, 2013 in localization, countries you have teh format of the form firstname lastname company vat_number address1 address2 postcode city Country:name phone you can remove company 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