- Posts: 91
- Thank you received: 3
Easy export order details for accountant
When I use the export button of Reports a get a CSV with 62 columns, most of them I don't understand. I just need the customer details (name, address, et cetera) and the order details (bought products, total price, et cetera). Is there something like this possible. Best way would be an export tool where I can select the items (fields) I want to be exported.
Please Log in or Create an account to join the conversation.
What you want to use then is not the reporting system but the mass actions system.
Create one via the menu System>Mass actions on the "order" data and set an action "export CSV file" and here you'll be able to select the columns you want in your CSV that you will get when you process the massaction.
It can also be processed automatically with a trigger if necessary.
Please Log in or Create an account to join the conversation.
Any chance of having a connection with Exact (used by more then 50.000 business owners) in the future?
Please Log in or Create an account to join the conversation.
1. I want the CSV or XLS file only to be filled with the last order. I cannot filter for 'last order' or 'last x orders'
2. Is it possible to mail the created file instead of putting it somewhere (export path)?
Please Log in or Create an account to join the conversation.
Actually it's not possible. But I just have added this possibility, it will be probably in the next release. (2.3.1).
If you want this modification, you have to edit the file "administrator/components/hikashop/classes/massaction.php" and add:
hikashop.com/support/support/documentati...r-documentation.html
And to send by email instead of export, it's not yet possible.
Please Log in or Create an account to join the conversation.
Not being able to mail the results is something I can solve in other ways. I see I can configure an export path. What's the default path and what should I put there to change that? More important: will the function create a unique filename? I mean, when I use a trigger (order created for example) and a report is created and put in the export directory, it has a file name. What if it's triggered again, will it overwrite the current file (BAD) or will it create an extra file (GOOD)? Best way would be to have a unique file with date and time or even better order ID. Just thinking ahead
Please Log in or Create an account to join the conversation.
It will of course overwrite the file.
That way, you can give the link to the file to someone and he will always have the latest version of the file available with that link.
Now I understand that in your case that's not what you would prefer.
Having the system create different CSVs would require the export path parameter to support tags. That's a good idea, but not yet possible.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
1. Do you have any idea when the new version will be available and if the above mentioned options will be in it?
2. I talked to you about Exact, an accounting system that is used by many thousands of people. There are other webshops that have made plugins / connections to make data transfer between the webshop and Exact possible. For me, I think not having this option in Hikashop is a big disadvantage. Is there any chance this will be addressed in the near future?
Please Log in or Create an account to join the conversation.
1. Next version will be available in May. In one or two weeks. As Xavier said, it will be included.
2. Not in the near future, unless someone pays for us to develop it.
There are plenty of accounting systems used by more than thousands of users. We can't develop an integration for all of them. We're already trying to develop payment plugins for plenty of payment gateways.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The last version has been released on May 14 but the auto-update is not activated yet.
You can download it from your user account or on the website for the free version though. Do not hesitate to give us feedback if you encounter any issue!
Please Log in or Create an account to join the conversation.
But.... this topic was about one asked improvement:
1. I want the CSV or XLS file only to be filled with the last order. I cannot filter for 'last order' or 'last x orders'
I can't find it or don't understand how to get this working. Can you help me (and others) a bit?
Please Log in or Create an account to join the conversation.
I indeed don't see the capability either. I've asked Xavier to look at it as he is the one in charge of that. He'll get back to you on Tuesday, when he gets back to work.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I tried in the export path /lastorder and lastorder (without /) but no result.
What shoud I type in exactly to get this working? You told me path from website root, but that's what I did (didn't I?)
Please Log in or Create an account to join the conversation.
The path from website root is for example /var/www/mysite/lastorder
Please Log in or Create an account to join the conversation.
Could it be going wrong because it's a password protected directory? I did that on purpose, because I don't want customer information public available.
An email option would still be great
Please Log in or Create an account to join the conversation.
Thanks to try in a not protected folder, with writable permissions.
Yes, email will be great, still on our TODO list
Please Log in or Create an account to join the conversation.