Hi,
I am trying to show custom fields in the "View/edit address" screen. I have 3 custom fields, but the problem is that I don`t know how to declare them in the Localization/Country/Address:
Name={firstname}
Last name: {lastname}
Company: {company}
VAT: {custom_field}
Obviously {custom_field} is not correct, but what shoud I put instead?
Thanks very much for the help!
I am trying to show custom fields in the "View/edit address" screen. I have 3 custom fields, but the problem is that I don`t know how to declare them in the Localization/Country/Address:
Name={firstname}
Last name: {lastname}
Company: {company}
VAT: {custom_field}
Obviously {custom_field} is not correct, but what shoud I put instead?
Thanks very much for the help!
If you do not need to add another Form/Field Section, by use of your, i.E., Registration FAX-Field, you can easy change it's Language TITLE by Use of one of the below mentined FINE Language TOOLS for this, to change FAX: to TAX/VAT-Number, or whatever, as long as it's a Value, accepted by the OC FAX-Field Filter Routines.
There should be a Version for OC v.2.x as well, hopefully, otherways, you would have to change it,
by the Texteditor 'search and replace' routine, in the language files, related.
The most efficient 5 Star Magic Translations - OpenCart v.1.5.6.x Language Translator.
Download Link for the genious OC v.1.5.6.x Magic Translations Version:
http://www.opencart.com/index.php?route ... n_id=24320
OpenCart v.1.5.6.x SQL-based Database Language Editor FREE:
http://www.opencart.com/index.php?route ... n_id=10875
Just an Idea...
Good Luck
Ernie
PS, I just changed this Site, from Fax to Tax Number, to test the two Mods:
http://www.hitline.info/shop/index.php? ... t/register
There should be a Version for OC v.2.x as well, hopefully, otherways, you would have to change it,
by the Texteditor 'search and replace' routine, in the language files, related.
The most efficient 5 Star Magic Translations - OpenCart v.1.5.6.x Language Translator.
Download Link for the genious OC v.1.5.6.x Magic Translations Version:
http://www.opencart.com/index.php?route ... n_id=24320
OpenCart v.1.5.6.x SQL-based Database Language Editor FREE:
http://www.opencart.com/index.php?route ... n_id=10875
Just an Idea...

Good Luck
Ernie
PS, I just changed this Site, from Fax to Tax Number, to test the two Mods:
http://www.hitline.info/shop/index.php? ... t/register
Last edited by IP_CAM on Thu Oct 22, 2015 2:46 am, edited 2 times in total.
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Usually, there are more in the address-section, one could re-use some Company-Fields, as well.
Just to mention it...
Ernie
Just to mention it...
Ernie
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
we just had a Discussion on this, SO, whatever you do, just make sure, that the
Sections, you want to display, DO CONTAIN a Value, in the DB, when testing for function.
OPTIONAL FIELDS, not required by Default, are usually 'filtered' by a PHP IF EXIST... Routine,
as I call it, and 'display' only on a Page, if a valid content does exist in the DB!
Just to mention it, as one of those little 'things', able to make Life a little harder....
Good Luck
Ernie
read here:
http://forum.opencart.com/viewtopic.php?f=21&t=146431
and links, I found in my Favourites, as well, on such doings:
http://nikolaloncar.com/how-to-add-cust ... min-panel/
http://karlmac.com/2011/07/how-to-add-c ... ncart-1-5/
Sections, you want to display, DO CONTAIN a Value, in the DB, when testing for function.
OPTIONAL FIELDS, not required by Default, are usually 'filtered' by a PHP IF EXIST... Routine,
as I call it, and 'display' only on a Page, if a valid content does exist in the DB!
Just to mention it, as one of those little 'things', able to make Life a little harder....

Good Luck
Ernie
read here:
http://forum.opencart.com/viewtopic.php?f=21&t=146431
and links, I found in my Favourites, as well, on such doings:
http://nikolaloncar.com/how-to-add-cust ... min-panel/
http://karlmac.com/2011/07/how-to-add-c ... ncart-1-5/
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: Amazon [Bot] and 33 guests