Dimaer Posted March 17, 2010 Share Posted March 17, 2010 Hi guys,Presta 1.3 b1Trying to customize some of the fields in customer's registration form. A I understand address.tpl should be modifiedI need to remove one of the phone (Mobile/Home) and replace with Contact Phone number and add comment (Phone verification maybe required) to this fieldSo i have decided to remove: {l s='Home phone'} <input type="text" id="phone" name="phone" value="{if isset($smarty.post.phone)}{$smarty.post.phone}{else}{$address->phone|escape:'htmlall':'UTF-8'}{/if}" /> And change {l s='Mobile phone'} <input type="text" id="phone_mobile" name="phone_mobile" value="{if isset($smarty.post.phone_mobile)}{$smarty.post.phone_mobile}{else}{$address->phone_mobile|escape:'htmlall':'UTF-8'}{/if}" /> To: {l s='Contact Phone Number (phone verification maybe required)'} <input type="text" id="phone_mobile" name="phone_mobile" value="{if isset($smarty.post.phone_mobile)}{$smarty.post.phone_mobile}{else}{$address->phone_mobile|escape:'htmlall':'UTF-8'}{/if}" /> But it didnt change anything in registration form on website...Anyone got suggestion?Thanks. Link to comment Share on other sites More sharing options...
rocky Posted March 18, 2010 Share Posted March 18, 2010 You need to make the same modification you made to address.tpl to authentication.tpl as well. 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