{extends file="layout.tpl"} {* Body Class *} {block name="body-class"}page-register{/block} {* Breadcrumb *} {block name='no-return-functions' append} {$breadcrumbs = [['title' => {intl l="Register"}, 'url'=>{url path="/register"}]]} {/block} {block name="main-content"} {* This page should not replace the current previous URL *} {set_previous_url ignore_current="1"}

# {intl l="Create New Account"}

{hook name="register.top"} {form name="thelia.front.customer.create"} {form_field field='success_url'} {* the url the user is redirected to on registration success *} {/form_field} {form_field field='error_message'} {/form_field} {form_hidden_fields} {if $form_error}
{$form_error_message}
{/if} {hook name="register.form-top"}
1. {intl l="Personal Information"}
{form_field field="title"}
{$label}{if $required} *{/if}
{if $error } {$message} {assign var="error_focus" value="true"} {elseif !$value} {assign var="error_focus" value="true"} {/if}
{/form_field} {form_field field="firstname"}
{$label}{if $required} *{/if}
{if $error } {$message} {assign var="error_focus" value="true"} {/if}
{/form_field} {form_field field="lastname"}
{$label}{if $required} *{/if}
{if $error } {$message} {assign var="error_focus" value="true"} {/if}
{/form_field} {form_field field="email"}
{$label}{if $required} *{/if}
{if $error } {$message} {assign var="error_focus" value="true"} {/if}
{/form_field} {if {config key="customer_confirm_email"}} {form_field field="email_confirm"}
{$label}{if $required} *{/if}
{if $error } {$message} {assign var="error_focus" value="true"} {/if}
{/form_field} {/if} {form_field field="phone"}
{$label}{if $required} *{/if}
{if $error } {$message} {assign var="error_focus" value="true"} {/if}
{/form_field} {form_field field="cellphone"}
{$label}{if $required} *{/if}
{if $error } {$message} {assign var="error_focus" value="true"} {/if}
{/form_field}
2. {intl l="Delivery Information"}
{form_field field="company"}
{$label}{if $required} *{/if}
{if $error } {$message} {assign var="error_focus" value="true"} {/if}
{/form_field} {form_field field="address1"}
{$label}{if $required} *{/if}
{if $error } {$message} {assign var="error_focus" value="true"} {/if}
{/form_field} {form_field field="address2"}
{$label}{if $required} *{/if}
{if $error } {$message} {assign var="error_focus" value="true"} {/if}
{/form_field} {form_field field="zipcode"}
{$label}{if $required} *{/if}
{if $error } {$message} {assign var="error_focus" value="true"} {/if}
{/form_field} {form_field field="city"}
{$label}{if $required} *{/if}
{if $error } {$message} {assign var="error_focus" value="true"} {/if}
{/form_field} {form_field field="country"} {$countryFieldId=$label_attr.for}
{$label}{if $required} *{/if}
{if $error } {$message} {assign var="error_focus" value="true"} {/if}
{/form_field} {form_field field="state"}
{$label}{if $required} *{/if}
{if $error } {$message} {assign var="error_focus" value="true"} {/if}
{/form_field}
3. {intl l="Login Information"}
{form_field field="password"}
{$label}{if $required} *{/if}
{if $error } {$message} {assign var="error_focus" value="true"} {/if}
{/form_field} {form_field field="password_confirm"}
{$label}{if $required} *{/if}
{if $error } {$message} {assign var="error_focus" value="true"} {/if}
{/form_field}
{form_field field="newsletter"}
{$label} {if $error } {$message} {/if}
{/form_field} {hook name="register.form-bottom"}
{/form} {hook name="register.bottom"}
{/block} {block name="stylesheet"} {hook name="register.stylesheet"} {/block} {block name="after-javascript-include"} {hook name="register.after-javascript-include"} {/block} {block name="javascript-initialization"} {hook name="register.javascript-initialization"} {/block}