How do I change the first name & last name field and make them into just "Full Name" when they register.
Cause I don't need two fields for a name.
I'm a newbie in this, please help.
Thanks
Tim
The easiest way would be to hide the lastname field and change the wording of "First name" to "Full name"
Note that you'll have to do this in MANY places (registered checkout, guest checkout, account create, new address, etc)
1. EDIT EACH OF THE FOLLOWING:
catalog/language/english/account/register.php
catalog/language/english/account/edit.php
catalog/language/english/account/address.php
catalog/language/english/checkout/register.php
catalog/language/english/checkout/guest.php
Possibly more
And change "First Name" to "Full Name"
2. EDIT EACH OF THE FOLLOWING:
catalog/controller/account/register.php
catalog/controller/account/edit.php
catalog/controller/account/address.php
catalog/controller/checkout/register.php
catalog/controller/checkout/guest.php
possibly others
And remove any lines with reference to "error_lastname"
overall it just isn't worth it.
Note that you'll have to do this in MANY places (registered checkout, guest checkout, account create, new address, etc)
1. EDIT EACH OF THE FOLLOWING:
catalog/language/english/account/register.php
catalog/language/english/account/edit.php
catalog/language/english/account/address.php
catalog/language/english/checkout/register.php
catalog/language/english/checkout/guest.php
Possibly more
And change "First Name" to "Full Name"
2. EDIT EACH OF THE FOLLOWING:
catalog/controller/account/register.php
catalog/controller/account/edit.php
catalog/controller/account/address.php
catalog/controller/checkout/register.php
catalog/controller/checkout/guest.php
possibly others
And remove any lines with reference to "error_lastname"
overall it just isn't worth it.
My environment is 2.3.0.2 version, But every version of this problem.
Because the store in Asia, the English-style name is not used to sort the format used.
Our habit is always full name, Or the sort of Last Name & First Name, So far the names of OpenCart are sorted, We still do not meet the actual needs.
We will only be able to modify the code like this, I think we should be able to let us choose the name format of the time.
Because the store in Asia, the English-style name is not used to sort the format used.
Our habit is always full name, Or the sort of Last Name & First Name, So far the names of OpenCart are sorted, We still do not meet the actual needs.
We will only be able to modify the code like this, I think we should be able to let us choose the name format of the time.
no successfull... Help me... I using ver 2.3.0.2Qphoria wrote: ↑Tue Jul 09, 2013 2:34 amThe easiest way would be to hide the lastname field and change the wording of "First name" to "Full name"
Note that you'll have to do this in MANY places (registered checkout, guest checkout, account create, new address, etc)
1. EDIT EACH OF THE FOLLOWING:
catalog/language/english/account/register.php
catalog/language/english/account/edit.php
catalog/language/english/account/address.php
catalog/language/english/checkout/register.php
catalog/language/english/checkout/guest.php
Possibly more
And change "First Name" to "Full Name"
2. EDIT EACH OF THE FOLLOWING:
catalog/controller/account/register.php
catalog/controller/account/edit.php
catalog/controller/account/address.php
catalog/controller/checkout/register.php
catalog/controller/checkout/guest.php
possibly others
And remove any lines with reference to "error_lastname"
overall it just isn't worth it.
Who is online
Users browsing this forum: No registered users and 87 guests