$merchantSiteUrl = $addressData->SiteUrl;
        if (strpos('http://', $merchantSiteUrl) == false) {
            $merchantSiteUrl = 'http://' . $merchantSiteUrl;
        }
    }
    $phone = $addressData->Phone;
    $fax = $addressData->Fax;
}
$MerchantType = $merchant->MerchantTypeId;
$uriMerchant = $base_url . '/merchant-details/merchantdetails/' . $merchant->MerchantId . '-' . seoUrl($merchant->Name);
$route = $uriMerchant;
?>
<div class="mod_bookingforconnector mod_bookingforconnector">
<!--  start mod_bookingforconnector -->
<div class="mod_bookingforconnector-resource com_bookingforconnector_merchantdetails-t<?php 
echo BFCHelper::showMerchantRatingByCategoryId($merchant->MerchantTypeId);
?>
 vcard hreview-aggregate" >
	<?php 
if ($merchant->LogoUrl != '') {
    ?>
	<a href="<?php 
    echo $route;
    ?>
"><img style="float:left;" class="com_bookingforconnector_merchantdetails-logo" src="<?php 
    echo BFCHelper::getImageUrlResized('merchant', $merchant->LogoUrl, 'merchant_logo_small');
    ?>
"  onerror="this.onerror=null;this.src='<?php 
    echo BFCHelper::getImageUrl('merchant', $merchant->LogoUrl, 'merchant_logo_small');
    ?>
'"></a>