Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8624209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:28:04+00:00 2026-06-12T07:28:04+00:00

I have a requirement for call centre agents to search for a customer based

  • 0

I have a requirement for call centre agents to search for a customer based on email address. But I don’t want to show the email address in the customer grid unless they search for a email.

How can I do this??

Magento Version: 1.4.1.1

Thank you in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T07:28:06+00:00Added an answer on June 12, 2026 at 7:28 am

    Write a custom module that extend:

    /app/code/core/Mage/Adminhtml/Block/Customer/Grid.php
    

    Read more @ How to get data for an entity (for example customer) from eav_attribute table to be shown in Customer Grid for admin (remove line with sales_order_grid)

    Copy ‘_prepareColumns()’ method to your custom module and change

        $this->addColumn('email', array(
            'header'    => Mage::helper('customer')->__('Email'),
            'width'     => '150',
            'index'     => 'email'
            'renderer' = new MageIgniter_MaskEmail_Block_Adminhtml_Renderer_Data()  // added this line
        ));
    

    Read more @ http://www.magentocommerce.com/boards/viewthread/192232/#t239222

    Create Class:

     class MageIgniter_MaskEmail_Block_Adminhtml_Renderer_Data extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Action
     {
        public function render(Varien_Object $row)
         {
             return $this->_getValue($row);
         }
    
         public function _getValue(Varien_Object $row)
         {
             $val = $row->getData($this->getColumn()->getIndex());  // row value
    
             $search_filter = base64_decode($this->getRequest()->getParam('filter'));
             // print_r($search_filter) : email=rs%40cs.com&customer_since%5Blocale%5D=en_US
             //read more @ http://inchoo.net/ecommerce/magento/what-is-base64-encoding-and-how-can-we-benefit-from-it/
    
             // check if $search_filter contain email and equal to the search email
             parse_str($search_filter, $query)
             if(isset($query['email'] && $val == $query['email']){  // or array_key_exist()
                return $val;
             }
             else{
                 return 'xxxxxxxx';
             }
    
         } 
     }
    

    This is base off Magento v1.7

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a requirement: I want to call method every day at any particular
I have a requirement.In my indexAction() I want to call a php file e.g.
I have requirement as following like showing ABPeoplePickerNavigationController in tabbar based application. I researched
I have a requirement to call a dll (unmanaged c) from a .NET web
I have different requirement from a customer to write a automated test script for
I have a requirement, wherein i need to show a wait message while an
We have a requirement from customer that if someone gets access to the database,
I have a requirement that we need to make a telephone call using ASP.NET
I have a requirement in which i need to call webservice 12 times for
I have a requirement to show a custom modal jQuery confirmation when a user

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.