JHtml::_('behavior.modal'); //jimport( 'activity.socialintegration.profiledata' ); $comquick2cartHelper = new comquick2cartHelper(); $libclass = $comquick2cartHelper->getQtcSocialLibObj(); $mainframe = JFactory::getApplication(); $input = $mainframe->input; $layout = $input->get('layout'); $params = JComponentHelper::getParams('com_quick2cart'); // Get store Owner. if (!class_exists('storeHelper')) { $path = JPATH_SITE . DS . 'components' . DS . 'com_quick2cart' . DS . 'helpers' . DS . 'storeHelper.php'; JLoader::register('storeHelper', $path); JLoader::load('storeHelper'); } $storeHelper = new storeHelper(); $storeOwner = $storeHelper->getStoreOwner($this->store_id); $integrate_with = $params->get('integrate_with', 'none'); if ($integrate_with != 'none') { $profile_url = $libclass->getProfileUrl(JFactory::getUser($storeOwner)); $UserName = JFactory::getUser($storeOwner)->name; $profile_path = "<a alt='' href='" . $profile_url . "'>" . $UserName . "</a>"; } if (!empty($this->storeDetailInfo)) { $sinfo = $this->storeDetailInfo; if ($layout == "storeinfo") { ?> <div class="<?php echo Q2C_WRAPPER_CLASS; ?> "> <?php