Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Neil Hodges 193 posts 519 karma points
    May 01, 2019 @ 08:18
    Neil Hodges
    0

    Tea Commerce - Exporting Orders into a CSV

    Hi

    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?

  • Matt Brailsford 2189 posts 10695 karma points MVP 6x c-trib
    May 01, 2019 @ 08:26
    Matt Brailsford
    100

    Hi Neil,

    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:

    https://www.dropbox.com/s/1gm1qjk4ormfam8/TC_CSV_EXPORT.zip?dl=0
    

    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

    Matt

    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.

  • Neil Hodges 193 posts 519 karma points
    May 01, 2019 @ 10:31
    Neil Hodges
    0

    HI Matt

    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.

  • Neil Hodges 193 posts 519 karma points
    May 01, 2019 @ 10:59
    Neil Hodges
    0

    Ah, scratch that I get it now.

      <uc1:OrderCSVExport runat="server" id="OrderCSVExport" />
    

    into the SearchOrders.aspx works.

    Thanks Matt :)

  • Matt Brailsford 2189 posts 10695 karma points MVP 6x c-trib
    May 01, 2019 @ 12:26
    Matt Brailsford
    0

    Yea, that's the one.

    Glad you got it working 👍

Please Sign in or register to post replies

Write your reply to:

Draft