I have two versions of the same site, one in English and one in Spanish and they share the same template. One is www.mysite.com, the other www.mysite.com/es.
There is a Chat button (Moxie brand) on all the product pages, but the operators only speak English. Despite text on the link that says English Only, the contact center gets ten plus chats per day in Spanish. Not great service.
I'd like to figure out a way to wrap the chat code in a code that would hide it on the Spanish language pages. Is it possible to test the URL for /es/ and if it is not there, go ahead and display the link.