We have a site which sells items online only for US customers. The site checks the location based on IP and decides if the price should appear on not.  Customers from other locations can buy the products offline (for a different price).  Searching Google for  price shows the price in the US in the result's description. On the webpage the user will not see that price if he's not in the US.How can I prevent Google from showing the prices?I thought about using javascript or checking for bots and hiding the price from them. Is there a simpler solution? Which option is best?
How to hide product prices from search engines when they vary by country?
search engines;web crawlers;cloaking;pricing
What I finally did was to always block the price to bots.Used a code similar to this:function _bot_detected() {  if (isset($_SERVER['HTTP_USER_AGENT']) && preg_match('/bot|crawl|slurp|spider/i', $_SERVER['HTTP_USER_AGENT'])) {    return TRUE;  }  else {    return FALSE;  }}More info at: https://stackoverflow.com/questions/677419/how-to-detect-search-engine-bots-with-php