Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Long shot but has anyone built into the back office an option to export Orders into a CSV before?
I guess I can roll my own, create a new Dashboard and spit out a CSV using GetOrders from a button click but wanted to check is there a more elegant way to do this or if someone else has done similar?
There isn't anything out of the box, but I received this from the Tea Solutions guys a while ago when I needed the same:
I used it on a project myself and merged it into the App_Plugins\TeaCommerce\Views\Orders\SearchOrders.aspx view so it was accessible via the orders section. You'll have to be careful that it doesn't get replaced if you upgrade though.
Hope this helps
PS I can't recall if it was just drop in code or if it ended up tweaking it, but hopefully it's at least a starting point.
Thanks for this, When you say merge into SearchOrders, is it a case of dropping the files into the Orders folder and referencing it in SearchOrders.aspx?
Not sure I follow.
Ah, scratch that I get it now.
<uc1:OrderCSVExport runat="server" id="OrderCSVExport" />
into the SearchOrders.aspx works.
Thanks Matt :)
Yea, that's the one.
Glad you got it working 👍
Do you still have the example code for the CSV export? The dropbox link doesn't work any more and I'm looking into doing something similar for a TC site!
Try this one https://www.dropbox.com/s/lfgsc01sljgh7nn/TCCSVEXPORT.zip?dl=0
PS I've updated the Original link too
Thanks Matt, you're an absolute star :)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted