Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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.

Posted

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"))

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 ======>>>>>.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...