Magento Forum

   
Ip address *RESOLVED*
 
mogbroke
Jr. Member
 
Total Posts:  5
Joined:  2008-02-21
 

How do i view ip address of customers orders , per order. This is very badly needed to defeat fraudulent activity.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

in app/design/adminhtml/default/default/template/sales/order/view/info.phtml add this:

<tr>
  <
td class="label"><label><?=Mage::helper('sales')->__('Customer IP')?></label></td>
  <
td class="input-ele"><strong><?=$_order->getRemoteIp()?></strong></td>
</
tr>
inside <table> tag between lines 66-71

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top