KiaAzad Posted January 27, 2015 Posted January 27, 2015 I'm planing to set a default value for some of address fields then hide some of them. can somebody tell me how I can set them and where to hide fields please? Share this post Link to post Share on other sites More sharing options...
vekia Posted January 27, 2015 Posted January 27, 2015 you're reffering to customer register process, or to feature to add custom address? Share this post Link to post Share on other sites More sharing options...
KiaAzad Posted January 27, 2015 Posted January 27, 2015 customer register process ofc Share this post Link to post Share on other sites More sharing options...
joppa Posted January 28, 2015 Posted January 28, 2015 I am having a similar problem but only when i try to configure the customer address field the "COUNTRY" option does not have a drop-down menu. The new customers cannot register because of this problem.. Share this post Link to post Share on other sites More sharing options...
KiaAzad Posted January 30, 2015 Posted January 30, 2015 I wonder what I should do? is bumping this topic enough or I should make a new topic for better chance? I really need to fix this problem. Share this post Link to post Share on other sites More sharing options...
vekia Posted January 31, 2015 Posted January 31, 2015 open authentication.tpl file located in theme directory you will see there code of the register process page so, for example, if you want to add predefined text to input field like "first name" search it there <div class="required form-group"> <label for="firstname">{l s='First name'} <sup>*</sup></label> <input type="text" class="is_required validate form-control" data-validate="isName" id="firstname" name="firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{/if}" /> </div> you will have to add to "input" value="" param, in this case it is equal to {if isset($smarty.post.firstname)}{$smarty.post.firstname}{/if} change this code to: {if isset($smarty.post.firstname)}{$smarty.post.firstname}{else}{l s='field value'}{/if} i added there {else}{l s='field value'} Share this post Link to post Share on other sites More sharing options...
KiaAzad Posted February 1, 2015 Posted February 1, 2015 (edited) I did this but nothing appeared on the filed. did it work for you? I'm using 1.6 and one page checkout does that make any different? Edited February 1, 2015 by KiaAzad (see edit history) Share this post Link to post Share on other sites More sharing options...
KiaAzad Posted February 11, 2015 Posted February 11, 2015 it's been a while and still the same problem. some solution from developers would be nice at this point. Share this post Link to post 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