Hi,
In the email, we give the link you set in the export path in case you want to get the file directly on the server.
Is it difficult, and sometime impossible to give you a download ling for the file based on this information.
The path is going to a folder which can be not reachable from internet, etc.
That's why you should see in the email a csv file attached directly with the correct content.
Please check in the file "plugins/hikashop/massaction_order/massaction_order.php", function "onProcessOrderMassActionexportCsv" if you have the code:
if(!empty($email) && !empty($path)){
$config = hikashop_config();
$mailClass = hikashop_get('class.mail');
$content = array('type' => 'csv_export');
$mail = $mailClass->get('massaction_notification',$content);
$mail->subject = JText::_('MASS_CSV_EMAIL_SUBJECT');
$mail->html = '1';
$csv = new stdClass();
$csv->name = JText::_('MASS_CSV_EMAIL_FILE_NAME');
$csv->filename = $path;
$csv->url = $path;
$mail->attachments = array($csv);
$mail->dst_name = '';
$mail->dst_email = explode(',',$email);
$mailClass->sendMail($mail);
}
The name of the csv file is the path indicated in the path field.
If you don't have any file attached, there is maybe an issue with the filename, so please try that code instead of the previous one:
if(!empty($email) && !empty($path)){
$config = hikashop_config();
$mailClass = hikashop_get('class.mail');
$content = array('type' => 'csv_export');
$mail = $mailClass->get('massaction_notification',$content);
$mail->subject = JText::_('MASS_CSV_EMAIL_SUBJECT');
$mail->html = '1';
$csv = new stdClass();
$csv->name = JText::_('MASS_CSV_EMAIL_FILE_NAME');
$csv->filename = preg_replace('#(.*)/#','',$path);
$csv->url = $path;
$mail->attachments = array($csv);
$mail->dst_name = '';
$mail->dst_email = explode(',',$email);
$mailClass->sendMail($mail);
}