Quote:
Originally Posted by anandat
Dear Boomer,
Where exactly to put this code in config.php ?
We need to just put this code & nothing else ? will it display the customer's original IP on chekout ?
|
Place it towards the bottom of the file, before the WARNING comment.
Add this afterwards to call the IP anywhere:
Code:
$smarty->assign("customers_ip", fetch_remote_address());
And call the variable in any .tpl {$customers_ip}