Post by lgblazz » Wed May 30, 2012 3:26 am

Hi,

In the back office under Sales > Customers > Customers

There is several columns with the following tabs:

Customer Name E-Mail Customer Group Status Approved IP Date Added Login into Store Action

How can I change the “Approved IP” to “Phone Number”, I’m not interested in looking at their IP address I just need their phone number to be there.

Thanks.

Version 1.5.1.3

Newbie

Posts

Joined
Thu Dec 15, 2011 1:46 am

User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by Avvici » Wed May 30, 2012 2:02 pm

You probably have no clue how to do it so I did it for ya.

Take the attached two files and overwrite what you have. It will give you what you need

The customer.php goes admin/controller/sale/
The customer_list.tpl goes admin/view/template/sale/

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by lgblazz » Thu May 31, 2012 3:45 am

Thanks!

Newbie

Posts

Joined
Thu Dec 15, 2011 1:46 am

Post by lgblazz » Thu May 31, 2012 4:00 am

It has replaced the IP address now, but when I click on "Edit", I get this error:

Fatal error: Call to undefined method ModelSaleCustomer::getTotalBlacklistsByIp() in /home/content/78/9127878/html/admin/controller/sale/customer.php on line 934

Newbie

Posts

Joined
Thu Dec 15, 2011 1:46 am

Post by Avvici » Thu May 31, 2012 4:09 am

I tested this on 1.5.2.1 before sending and it does not throw any errors. I just now noticed that you are using 1.5.1.3.

Blasted!!!
I will amend the code for you.

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by Avvici » Thu May 31, 2012 4:19 am

Sorry bout that. This is 1.5.1.3 attached

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by n.o » Tue Mar 23, 2021 7:52 pm

Hi Avvici,
Can you do same for version 3.0.3.6?

n.o
Newbie

Posts

Joined
Thu Jun 04, 2020 9:43 am
Who is online

Users browsing this forum: No registered users and 63 guests