ernie02 Posted March 30, 2010 Posted March 30, 2010 Hi there, I am trying to get the list of emails of all customers that purchase a certain product for newsletter purposes. I am sure this is pretty common and I am looking for an add-on for this. I tried searching for this but cannot seem to use the correct keyword to do so. Can anyone point me to the right add-on? Thank you very much. Quote
♥geoffreywalton Posted March 30, 2010 Posted March 30, 2010 try SELECT customers.customers_email_address FROM (orders INNER JOIN orders_products ON orders.orders_id = orders_products.orders_id) LEFT JOIN customers ON orders.customers_id = customers.customers_id WHERE (((orders_products.products_model)="ST1")) Quote Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.