I've been trying to join 2 tables with the existing collection of Customers (customer_entity
).
I've added like below.
$items->getSelect()->join('customer_entity_text as second', 'main_table.entity_id = second.entity_id');
Above is working fine, But if i add one more table to join with this is that is customer_entity_varchar
than its not working.
Below is my code to join 2 tables.
$items->getSelect()->join('customer_entity_text as second',
'main_table.entity_id = second.entity_id')
->join('customer_entity_varchar as third', 'main_table.entity_id = third.entity_id');
Any guide ?
*