I have a request to be able to create reports from time to time that list customer's that have made more than one purchase from the store. I created the first one manually by importing the orders table and then doing a sort on the Customer IDs, but you can see this was monumental (the site had over 2000 customer's from just this last year).
When in the customer view, one can see in the right hand column information about each customer to include number of orders made in the past. I've reviewed the code on the customer.php page, but I'm just not clear on how that information is being pulled. I've looked at the customer detail table and of course that information is not contained there.
Can someone assist me with ideas on how to develop a report that will pull the information displayed on the customer detail to include number of purchases made by each customer?
(ver 1.3.8a - PHP/MySQL 5x)
Any ideas on this would be really appreciated.
Thanks
Ruth
Bookmarks