Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So, I have subscribers collection:

$subscribersCollection =  Mage::getModel('newsletter/subscriber')->getCollection();

I want to join customer collection to it by email, so I did next:


But in this way I only join customer_entity table, but not all the customer collection. I think about also join other customers tables. Is there any better way to join customer collection?


I have tried

$customerCollection = Mage::getResourceModel('customer/customer_collection'); 
$customerCollection->getSelect()->join(array('cus'=>'newsletter_subscriber'),'cu‌​s.subscriber_email =');

Now it work, thanks

share|improve this question
up vote 4 down vote accepted

You're going to kick yourself when I show you :-)

Create a customer collection instance and join the newsletter table on that.

share|improve this answer

Try to use just email instead of

share|improve this answer
In UPDATE case main table is not newsletter_subscriber – sergio Mar 12 '14 at 13:55
Yes, you are right. Please see my updated answer. – Tim Bezhashvyly Mar 12 '14 at 14:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.