Post by Patrikiden » Mon Sep 12, 2016 10:22 am

Hello, I have removed the code for the lastname field from every file that i can find. Everything is working exept for this:
In Customer Account, Edit address and in order history view i now have this:

Name Lastname {lastname}

Eg,

Clint Eastwood {lastname}

I cant find anyware to remove the {lastname} part.

Any boudy have some idea pleas?

Thank you.

New member

Posts

Joined
Tue Aug 06, 2013 6:55 am

Post by KeyLeeAM » Mon Sep 12, 2016 12:17 pm

Where do you want to remove lastname? Did you not use lastname as an information?

Newbie

Posts

Joined
Thu Sep 08, 2016 12:43 pm

Post by Patrikiden » Mon Sep 12, 2016 2:20 pm

KeyLeeAM wrote:Where do you want to remove lastname? Did you not use lastname as an information?
Everyware. I'm renanaming First Name to Full Name. So i want to remove Last Name from the hole system.

New member

Posts

Joined
Tue Aug 06, 2013 6:55 am

Post by artcore » Mon Sep 12, 2016 2:29 pm

See admin menu -> localisation/country/edit -> address format

Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+ ;D

Thanks!


User avatar
Active Member

Posts

Joined
Tue Jul 09, 2013 4:13 am
Location - The Netherlands

Post by Patrikiden » Mon Sep 12, 2016 7:05 pm

Yes, but this does not hide the Last Name field from every form, right?

New member

Posts

Joined
Tue Aug 06, 2013 6:55 am

Post by artcore » Mon Sep 12, 2016 7:58 pm

Not sure if it's used everywhere but for orders it is. Make your own template leaving out the {lastname} placeholder.
{firstname}
{city} etc
You can see all placeholders in an array in the model/checkout/order.php for instance.
But I don't know what changes you made so no idea if it has an impact on other spots.

Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+ ;D

Thanks!


User avatar
Active Member

Posts

Joined
Tue Jul 09, 2013 4:13 am
Location - The Netherlands

Post by Patrikiden » Mon Sep 12, 2016 9:56 pm

artcore wrote:Not sure if it's used everywhere but for orders it is. Make your own template leaving out the {lastname} placeholder.
{firstname}
{city} etc
You can see all placeholders in an array in the model/checkout/order.php for instance.
But I don't know what changes you made so no idea if it has an impact on other spots.
I gave this upp, to much work. But thank's for your help.

New member

Posts

Joined
Tue Aug 06, 2013 6:55 am
Who is online

Users browsing this forum: No registered users and 87 guests