Display dynamic content based on visitor's location using Smart IP
One practical use of Drupal contributed Smart IP module is to display different content (like different price and links) based on your visitor's location.
The code snippet are as follows:
For Drupal 6 and 7