Hello everyone,
I was wondering if it is possible to change the way customer info is displayed on the View Orders page.
Specifically swapping the customer info displayed to - 'First Name, Last Name' instead of 'Last Name, First Name'.
Is it possible to also display a custom field as well such as a customers business name?
Thanks
Hello!
Hello everyone,
I was wondering if it is possible to change the way customer info is displayed on the View Orders page.
Specifically swapping the customer info displayed to - 'First Name, Last Name' instead of 'Last Name, First Name'.
Is it possible to also display a custom field as well such as a customers business name?
Thanks
The order of the fields can be changed via the position settings of the profile fields on the Administration > Profile fields page. Please, note, it will reflect not only the order page but also the checkout page, for example https://prnt.sc/mepxpv
Also here you can add the additional fields: https://prnt.sc/mepy9o
If needed, you can set up the different profile fields for different customer user groups via our add-on called Natural and Legal Entities
Best regards,
design/backend/templates/views/orders/manage.tpl
please replace
{$o.lastname} {$o.firstname}
with
{$o.firstname} {$o.lastname}
and clear cache
Thank you eCom Labs that is exactly what I was looking for!
Another question relating to this if that's ok?
Is it possible to add the customers shipping address details to this page underneath the {$o.firstname} {$o.lastname}?
Thanks again!
This data is not retrieved from database. At first you should extend the $fields array using hooks in the fn_get_orders function (app/functions/fn.cart.php)
Thank you for the replies.
I have realised i was not making use of the existing company field which then displays on the admin orders page for each customer order.