Jump to content

"merge" 4 "first Name"/"last Name" Fields In One Page Checkout


Recommended Posts

In the One Page Checkout, there are the First name and Last name fields shown twice; once at the top and once under "DELIVERY ADDRESS" (the fields have different id's).

 

Since all four of them are needed/required, how could I go about having only one set for the customer to fill out (e.g. customer_firstname + customer_lastname and the other set maybe behind the scene just submitting the value of the visible set which was filled out by the customer)?

Link to comment
Share on other sites

The first name and the last name are varchar(32), if you want join them, you need to alter this size of one......

You will need a Overriding class, to alter the behavior that you want, take a look at 

 

controllers/front/AuthControllerCore.php

 

and

 


Edited by Flávio's (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...