helper('themeframework'); $zoom = $_themeHelper->getConfig('codazon_settings/contact_us/zoom')?$_themeHelper->getConfig('codazon_settings/contact_us/zoom'):10; $address = $_themeHelper->getConfig('codazon_settings/contact_us/address'); $address = $address?$address:"6505 boulevard Henri-Bourassa, Montréal, Quebec, H1G2V5"; $storeName = nl2br(Mage::getStoreConfig('general/store_information/name')); $configLat = $_themeHelper->getConfig('codazon_settings/contact_us/latitude'); $configLng = $_themeHelper->getConfig('codazon_settings/contact_us/longtitude'); if( ($configLat != '') && ($configLng != '') ){ $lat = $configLat; $lng = $configLng; }else{ $mapJson = file_get_contents('http://maps.google.com/maps/api/geocode/json?address='.urlencode($address).'&sensor=false'); $mapObject = json_decode($mapJson); $lat = $mapObject->results[0]->geometry->location->lat; $lng = $mapObject->results[0]->geometry->location->lng; } $mapHeight = $_themeHelper->getConfig('codazon_settings/contact_us/map_height'); $mapHeight = $mapHeight?$mapHeight:300; ?>
getConfig('codazon_settings/contact_us/contact_info') ?>

Contattaci

Informazioni di contatto

* Campi obbligatori