Thanks a lot
save my lots of time
Same here, after a few days the issue came back.
Where exactyl I insert the NULL ?
HOW MUCH MUST MODIFY LINE 209?
Hi,
Like stated previously, you need to override: app/code/core/Mage/Reports/Model/Resource/Quote/Collection.php
and edit line 209 or 217 depends on your Magento version, find a line that reads like:
->joinInner( array('cust_mname' => $attrMiddlenameTableName), implode(' AND ', array( 'cust_mname.entity_id = main_table.customer_id', $adapter->quoteInto('cust_mname.attribute_id = ?', (int) $attrMiddlenameId), )), array('middlename' => 'cust_mname.value') )
And change it to look like:
->joinLeft( array('cust_mname' => $attrMiddlenameTableName), implode(' AND ', array( 'cust_mname.entity_id = main_table.customer_id', $adapter->quoteInto('cust_mname.attribute_id = ?', (int) $attrMiddlenameId), )), array('middlename' => 'cust_mname.value') )
Resuming changing the joinInner to joinLeft
Cheers,