Jump to content

Add label in customer address fields


Cornel_M

Recommended Posts

Hello!

 

I want to have descriptipn for customer address fields, not just values, like:

 

Name: Jon Doe

Address: 12 Avenue st.

Postal Code: 087877

City: Paris

State: new York

Country: USA

Phone: 874623646

 

is possible?

 

Many thx!

Link to comment
Share on other sites

If you mean physically adding a label, if you use the OPC, then edit order-opc-new-account.tpl in the theme folder
There should be labels in the default theme, so I take it as you use a custom one
unless you mean some other place

Link to comment
Share on other sites

Line 372 in prestashop 1.6.1.5, AddressFormat.php, classes folder.
You will have to play a bit with variable names, as well as this

$addressText .= (!empty($tmpText)) ? $tmpText.$newLine: '';

You do need to know a bit of php though

Link to comment
Share on other sites

  • 2 years later...

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...