Zen_j1 Posted October 27, 2016 Share Posted October 27, 2016 In customer registration there is a message ** You must register at least one phone number. How can I add similar kind of message under country dropdown in customer registration form which file and where in file this message need to added and how? I need to add message in red colour just like above Link to comment Share on other sites More sharing options...
rocky Posted October 27, 2016 Share Posted October 27, 2016 You'll need to edit address.tpl, authentication.tpl, order-opc-new-account.tpl and order-opc-new-account-advanced.tpl. It's the following code that displays that message: <p class="inline-infos required">** {l s='You must register at least one phone number.'}</p> It's the following code that displays the country: {if $field_name eq 'Country:name' || $field_name eq 'country' || $field_name eq 'Country:iso_code'} <div class="required form-group"> <label for="id_country">{l s='Country'} <sup>*</sup></label> <select id="id_country" class="form-control" name="id_country">{$countries_list}</select> </div> {/if} You can copy the message code and paste it after the </div>, then change the message to whatever you want. 1 Link to comment Share on other sites More sharing options...
Zen_j1 Posted October 27, 2016 Author Share Posted October 27, 2016 Thank you for your reply I will try this. 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