Forums / General Questions / Generating Customer Report by Product

Generating Customer Report by Product

Started by kgeoffrey on 10 Mar 2011, 9:05 PM · Views: 1,214

Results 1 to 7 of 7
10 Mar 2011, 9:05 PM
#1
kgeoffrey avatar

kgeoffrey

New Zenner

Join Date:
Mar 2007
Posts:
22
Plugin Contributions:
0

Generating Customer Report by Product

Hey, Zen-Cart Forum,

Anyone have an idea of what/how to query (i.e. via phpMyAdmin) in order to generate a report that shows which customers purchased a specific product?

Thanks!

10 Mar 2011, 11:05 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Generating Customer Report by Product

You could look at the Report in the Zen Cart Admin for:
/your_secret_admin//stats_products_purchased.php

and see how when you click on a specific products_id it shows all of the Customers who purchased the Product ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

11 Mar 2011, 10:26 PM
#3
kgeoffrey avatar

kgeoffrey

New Zenner

Join Date:
Mar 2007
Posts:
22
Plugin Contributions:
0

Re: Generating Customer Report by Product

Thanks for the reply. Perhaps I am having issues with this because I am still running 1.3.0.1 :yuck:

When I go to Reports > Products Purchased, I see the list of products, but when I click, it takes me into the catalog. All of the links are like

/admin/categories.php?cPath=12&pID=33&page=

Short of upgrading (which I just can't do right now, but intend to soon), do you have any other suggestions? Is there a way I can run a query with phpMyAdmin? Install just the current script for stats_products_purchased.php?

Thanks again.

11 Mar 2011, 11:26 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Generating Customer Report by Product

You might download Zen Cart v1.3.9h and see if that version of the report will work on your site ...

If so, it would give you an idea of how this can be done ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

14 Mar 2011, 8:50 PM
#5
kgeoffrey avatar

kgeoffrey

New Zenner

Join Date:
Mar 2007
Posts:
22
Plugin Contributions:
0

Re: Generating Customer Report by Product

I replaced my version of stats_products_purchased.php with the current version and worked perfectly.

Thank you!

14 Mar 2011, 11:08 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Generating Customer Report by Product

Thanks for the update that this worked for you ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

31 Jan 2012, 11:00 AM
#7
techiescot avatar

techiescot

New Zenner

Join Date:
Nov 2009
Posts:
59
Plugin Contributions:
0

Re: Generating Customer Report by Product

Hi

In the Products Purchased report, I have products which have NOT been purchased ... The ID links shows no customers so how to I remove them from the list?

Many thanks

Gillian