Jump to content

Need a list of all customers who have ordered something


defuzed

Recommended Posts

Hi, this seemed like the best place to post this question, so here goes:

 

Like the title says i need a list of all customers who ever ordered something.

 

I realize i can get a csv of all customers and also a csv of all orders, but what i really need is a list that will list just customers that have ordered something and only list them once (so i don't have a list with the same customer in it a 100 times).

 

I haven't found such an option to filter in the backend customers tab and i'm guessing it doesn't exist ...

 

Do any of you have an idea, maybe some excel magic, to maybe remove duplicate e-mail adresses from the orders tab? 

 

Link to comment
Share on other sites

well, without module / or modificaiton it will not be possible.

you will need to create mysql query:

SELECT c.* FROM ps_orders AS o
INNER JOIN ps_customer AS c ON o.id_customer = c.id_customer
GROUP BY c.id_customer

result of this query is a list of customers who bought something from your store

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...