Page 1 of 1

Adding data and info to admin-customers page

Posted: Fri May 05, 2023 5:59 pm
by 14Steve14
On my current 1.0.7.11 site I added lots of additional info on the admin/customers.php page so that we had to hand things like customers ID and their phone numbers so it made contacting them quick and easy.

I would like to do the same on a new test site using 1.0.8.20 but would like to keep the code as original as possible, if possible. I have currently hacked the code in the admin/customers.php file just to see if it would be possible, which it is. It was so easy once I figured out the customer data module that was used to get the data.

My question is, is there a way to add table headings and info as per the attached image without changing core code in admin?

I will also be doing something similar to show additional information on the product category page so we can see easily current stock and where we buy stock from so may need help with that page too when time allows.
new-site-admin-customers.png

Re: Adding data and info to admin-customers page

Posted: Fri May 05, 2023 6:20 pm
by raiwa
I did this in my pwa addon adding guest info with a hook. You could just download it and have a look how it is made there.

Re: Adding data and info to admin-customers page

Posted: Fri May 05, 2023 6:48 pm
by 14Steve14
Thanks @raiwa I will take a look and see if i can get something to work.