- Posts: 72
- Thank you received: 0
Edit export options
- daveturner101
-
Topic Author
- Offline
Less
More
13 years 8 months ago #92854
by daveturner101
Edit export options was created by daveturner101
hi,
i'm using the export button to export my orders to a csv file so i can view in excel.
is there a way to edit which db fields are exported?
at the moment i'm having to manually delete a lot of columns in excel that i dont need every time i export.
i'd like it to just be order number, name, address and a few others.
thanks
i'm using the export button to export my orders to a csv file so i can view in excel.
is there a way to edit which db fields are exported?
at the moment i'm having to manually delete a lot of columns in excel that i dont need every time i export.
i'd like it to just be order number, name, address and a few others.
thanks
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
13 years 8 months ago #92896
by Mohamed Thelji
Replied by Mohamed Thelji on topic Edit export options
Hi,
I think that in your case, the best solution would be to directly import your database table (through phpmyadmin) in a CSV format.
Hope this will help you.
I think that in your case, the best solution would be to directly import your database table (through phpmyadmin) in a CSV format.
Hope this will help you.
Please Log in or Create an account to join the conversation.
- daveturner101
-
Topic Author
- Offline
Less
More
- Posts: 72
- Thank you received: 0
13 years 8 months ago #92927
by daveturner101
Replied by daveturner101 on topic Edit export options
thanks for the reply but that's not really what i'm looking at.
i'd like to customise what fields the 'export' button exports. i need it to be easy to use and not require me to use phpmyadmin.
where in the hikashop directory can i find the code for the 'export' button to see how it generates it's export? can i edit this?
i'd like to customise what fields the 'export' button exports. i need it to be easy to use and not require me to use phpmyadmin.
where in the hikashop directory can i find the code for the 'export' button to see how it generates it's export? can i edit this?
Please Log in or Create an account to join the conversation.
13 years 8 months ago #93041
by Xavier
Replied by Xavier on topic Edit export options
Hi,
You can edit the view "order / export" to change the row content.
Then if you need more, the file "administrator/components/com_hikashop/views/order/view.html.php" function "export()" can be useful.
And the helper "spreadsheet" in "administrator/components/com_hikashop/helpers/spreadsheet.php" allow you more changes.
Be careful the two last files are HikaShop core file, so if you edit them you will lose your changes at each update.
You can edit the view "order / export" to change the row content.
Then if you need more, the file "administrator/components/com_hikashop/views/order/view.html.php" function "export()" can be useful.
And the helper "spreadsheet" in "administrator/components/com_hikashop/helpers/spreadsheet.php" allow you more changes.
Be careful the two last files are HikaShop core file, so if you edit them you will lose your changes at each update.
The following user(s) said Thank You: daveturner101
Please Log in or Create an account to join the conversation.
Time to create page: 0.050 seconds