- Posts: 16
- Thank you received: 0
Massaction_Order carriage return missing
- Thunder1001
-
Topic Author
- Offline
Less
More
12 years 2 months ago #168266
by Thunder1001
Massaction_Order carriage return missing was created by Thunder1001
We have problem we the csv export from the massaction_order
Last line doesn’t have a carriage return at the end.
Without that carriage return, we cannot import the file in our ERP system.
Last line doesn’t have a carriage return at the end.
Without that carriage return, we cannot import the file in our ERP system.
Please Log in or Create an account to join the conversation.
12 years 2 months ago #168272
by Xavier
Replied by Xavier on topic Massaction_Order carriage return missing
Hi,
Thanks to edit the file "administrator/components/com_hikashop/classes/massaction.php" and in the function "_exportCSV()" add:
Just before:
Thanks to edit the file "administrator/components/com_hikashop/classes/massaction.php" and in the function "_exportCSV()" add:
Code:
$export->writeLine("\n");
Code:
if(empty($params->path)){
$export->send();
}else{
Please Log in or Create an account to join the conversation.
Time to create page: 0.049 seconds