Show guest customer name

  • Posts: 278
  • Thank you received: 14
  • Hikashop Business
3 years 6 months ago #324894

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.22

We have guest checkout. No user registration.
On Customer list (Customer/Customer) and Cart list (Customer/Cart), there is Name column, but empty.
Is it posible to show customer name?

Please Log in or Create an account to join the conversation.

  • Posts: 4510
  • Thank you received: 611
  • MODERATOR
3 years 6 months ago #324914

Hello,

There no option to do that by default in HikaShop and so, the only solution is to custom HikaShop in order to manage the name even in guest mode AND display this info in the backend HikaShop user listing.

From this, 2 possibilities :
- You have the html & php knowledge and we guide you to add this feature.
- You ask us for this custom via our Contact us form.

Regards

Last edit: 3 years 6 months ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 278
  • Thank you received: 14
  • Hikashop Business
3 years 5 months ago #325099

Please guide me.

Please Log in or Create an account to join the conversation.

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
3 years 5 months ago #325103

Hi,

You can edit the corresponding view file of the listings where you want to add the information via the menu Display>Views in order to add your custom PHP code to run a MySQL query to load the data from the database before displaying it.
I suppose that you actually want to use the first name and last name fields of the default billing address of the customer there.
In that case, you need to run a MySQL query on the hikashop_address table to get the default billing address (address_published = 1 and address_default = 1 and address_type = 'billing').
To know which view file to edit, you can activate the "Display view files" setting of the HikaShop configuration and look again at the page where you want to do your modification. HikaShop will then display which view file displays what part of the page.

Please Log in or Create an account to join the conversation.

Time to create page: 0.062 seconds
Powered by Kunena Forum