Apury Posted January 19, 2019 Share Posted January 19, 2019 Hello there! I've already taken a look into FormField.php and CustomerAddressFormatter.php and couldn't quite figure it out. What I'm trying to achieve is: To display the 'alias' field while a customer adds his first (or an following) address via checkout. As of now that field is only visible if editing an address in the 'your account' page. Make the 'alias' field required. Given that the difference in fields between adding an address outside of the 'your account' page and the one in the account-page equals 10 vs. 11, I figured there must be two different .php files and that the adjustment must be relatively quick and simple. However, after spending 7 hours on it so far, I figured I'll ask for help. Link to comment Share on other sites More sharing options...
Apury Posted January 19, 2019 Author Share Posted January 19, 2019 After some further search I found the address-form.tpl to contain the relevant section. I now got the alias to show in the desired spot. What I'm now struggling with is making it be required. I suspect CustomerAddressFormatter.php to be the relevant file. Link to comment Share on other sites More sharing options...
Kiona Posted November 22, 2021 Share Posted November 22, 2021 Hi, Where and what exactly did you enter in the address-form.tpl? I would like to have the alias field visible in the checkout, but I cannot find what kind of code and on where it should be set. Thanks already, Kiona 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