Jump to content

Customizing Registration Form


Recommended Posts

Hi guys,

Presta 1.3 b1

Trying to customize some of the fields in customer's registration form. A I understand address.tpl should be modified

I need to remove one of the phone (Mobile/Home) and replace with Contact Phone number and add comment (Phone verification maybe required) to this field

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

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More