we do need to show that attribute in the Customer Grid then we need to follow the steps below:
Step: 1. Override the Mage_Adminhtml_Block_Widget_Grid

Copy to Clipboard

Step: 2. Edit your config.xml

Excellence_Subcust_Block_Adminhtml_Customer_Grid

In Step 1 we had not overridden the_prepareCollection()because callingreturn parent::_prepareCollection();=will reset the collection to default magento implementation and searching will not work for custom attribute column. For this we had overridden thesetCollection()and added our custom attribute to select. You can change it as per your requirement.

Published On: December 25th, 2020 / Categories: Magento / By /

Let’s Make Things Happen

Transforming your ideas into reality is our expertise. Share your vision without hesitation, and let our skilled team bring it to life.

“Akshar Group Technologies did such a great job at resolving the initial problem that the partnership expanded to include further development and is still ongoing. Diligent and committed, the team goes above and beyond to deliver their work promptly. They have an extensive knowledge base.”

Justin Delp

Digital Engage, US

By submitting my data I agree to be contacted