Jump to content

Customer registration save to address field in database


Adam_Uy

Recommended Posts

<div class="form-group">
    <label for="company">{l s='Company'}</label>
    <input id="company" class="form-control" name="company" type="text" value="{if isset($smarty.post.company)}{$smarty.post.company}{/if}" />
</div>
<div class="required form-group">
    <label for="address1">{l s='Address'}<sup> *</sup></label>
    <input id="address1" class="is_required form-control" name="address1" type="text" value="{if isset($smarty.post.address1)}{$smarty.post.address1}{/if}" />
</div>
<div class="required form-group">
    <label for="postcode">{l s='Postal Code'}<sup> *</sup></label>
    <input id="postcode" class="is_required form-control" name="postcode" type="text" value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{/if}" />
</div> 

Good day,

 

I want to customized the customer registration form and added the fields company, address and postal id in the authentication.tpl. How can i save it in the address table in database from customer controller?

Edited by Adam_Uy (see edit history)
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...