Adam_Uy Posted September 30, 2016 Share Posted September 30, 2016 (edited) <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 September 30, 2016 by Adam_Uy (see edit history) Link to comment Share on other sites More sharing options...
Logical IT Posted September 30, 2016 Share Posted September 30, 2016 Hello, Have you seen this tutorial? http://nemops.com/new-customer-address-fields-prestashop/ Link to comment Share on other sites More sharing options...
Adam_Uy Posted September 30, 2016 Author Share Posted September 30, 2016 yes I tried it but its in address tpl, what I want is in the authentication.tpl. 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