Displaying Customer Name In View Orders Section In The Format Of :firstname Lastname:

My customer information is listed as LASTNAME FIRSTNAME. I would like its to be FIRSTNAME LASTNAME. Where do I change this?

My customer information is listed as LASTNAME FIRSTNAME. I would like its to be FIRSTNAME LASTNAME. Where do I change this?

Hello.

Do you use version 1.3.5 Sp3?

It is usually done in the following way:

It is necessary open the "manage.tpl" file

(design/backend/templates/views/orders/manage.tpl)

and replace the line:

{if $o.user_id}{/if}{$o.lastname} {$o.firstname}{if $o.user_id}{/if}

by this one:

{if $o.user_id}{/if}{$o.firstname} {$o.lastname}{if $o.user_id}{/if}

then cleare cache.

Sincerely yours,

CS-Market team

I use 4.3 but I can't figure out how to edit the signature. I've made the change you suggested, but its still teh same and I tried clearing the cachce

If your request is about Manage users page in the admin area, please edit the following file:

design/backend/templates/views/profiles/manage.tpl

and replace:

{if $user.firstname || $user.lastname}{$user.lastname} {$user.firstname}{else}-{/if}{if $user.company_id}{include file="views/companies/components/company_name.tpl" object=$user}{/if}

with

{if $user.firstname || $user.lastname}{$user.firstname} {$user.lastname}{else}-{/if}{if $user.company_id}{include file="views/companies/components/company_name.tpl" object=$user}{/if}

Do not forget to clear cache then.

I want it for the orders--> view orders page and the customers ---> page. I've done both your suggestions and have cleared the cahce but neither one has worked

My input would be that you have permission problems on your site which is preventing clearing the cache via ?cc. Suggest you delete the folder var/cache using your file manager.

The first one (editing manage.tpl) should work.

I want it for the orders--> view orders page and the customers ---> page. I've done both your suggestions and have cleared the cahce but neither one has worked

Tony is right. It works on my demo. Try to remove the var/cache directory manually

You guys were correct, I cleared it manually and the changes showed up, thank you tbirsneth and ecomlabs!

You are welcome!