if(in_array(substr($downloadFile->file_path, 0, 1), array('@', '#')) && (int)$downloadFile->file_quantity > 1) {
for($i = 1; $i <= (int)$downloadFile->file_quantity; $i++) {
echo '<a href="'.hikashop_completeLink('order&task=download&file_id='.$downloadFile->file_id.'&order_id='.$order_id.'&file_pos='.$i.$url_itemid).'">'Download File'</a><br/>';
}
$fileHtml = '';
} else {
$fileHtml = '<a href="'.hikashop_completeLink('order&task=download&file_id='.$downloadFile->file_id.'&order_id='.$order_id.$file_pos.$url_itemid).'">'Download File'</a>';
}
} else {
$fileHtml = 'Download File';
It doesn't work.