Dear Nicolas,
we tried to do what you describe above but unfortunatelly we are still getting pars error. Could you be a little more specific on where and how to add this code:
<?php $user =& JFactory::getDBO();
if(user->guest) return; ?>
We have the last version of Hikashop and Hikamarket business.
This is the beginning of the file we need to edit:
<?php
/**
* @package HikaShop for Joomla!
* @version 2.2.0
* @author hikashop.com
* @copyright (C) 2010-2013 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><div id="hikashop_product_files_main" class="hikashop_product_files_main">
<?php
if (!empty ($this->element->files)) {
$skip = true;
foreach ($this->element->files as $file) {
if ($file->file_free_download)
$skip = false;
}
if (!$skip) {
global $Itemid;
$url_itemid='';
if(!empty($Itemid)){
$url_itemid='&Itemid='.$Itemid;
}
Thanks for fast answer.