Adding data and info to admin-customers page

Open to all! Ask other shopowners for help.
Post Reply
14Steve14
Senior Contributor
Posts: 923
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Adding data and info to admin-customers page

Post 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


Join The Code Co-op to get access to your library in the Code Co-op Forum
raiwa
Certified Developer
Posts: 1641
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Has thanked: 70 times
Been thanked: 152 times

Re: Adding data and info to admin-customers page

Post 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.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
14Steve14
Senior Contributor
Posts: 923
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Re: Adding data and info to admin-customers page

Post by 14Steve14 »

Thanks @raiwa I will take a look and see if i can get something to work.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply