Hi,
I need on backend, to add a custom filter on manage customers. The customers registered on frontend have a custom field called 'seller_code' on account information,
i need to filter by that field.
The code from backend that fill up the grid is:
<?php foreach ($this->getCollection() as $_index=>$_item): ?>
...
Can I add this custom field to getCollection like a filter?
Solved! Go to Solution.
Hi Alex.
This is not the way to do it.
It can be achieved by in a none intrusive way using observers. Rather than me repeat the contents of a good article on this, you are better off reading it yourself.
http://www.atwix.com/magento/add-column-to-customers-grid-alternative-way/
Regards,
Andy
Hi @Alex Stefan,
This can help you: http://stackoverflow.com/questions/6046836/magento-add-column-to-customer-grid
Hi Alex.
This is not the way to do it.
It can be achieved by in a none intrusive way using observers. Rather than me repeat the contents of a good article on this, you are better off reading it yourself.
http://www.atwix.com/magento/add-column-to-customers-grid-alternative-way/
Regards,
Andy
Hi @Alex Stefan,
This can help you: http://stackoverflow.com/questions/6046836/magento-add-column-to-customer-grid