• Resolved neg0

    (@neg0)


    Hi,

    I have a couple of woocommerce custom data i need to export. I was wondering if it was possible to add custom columns to the “Orders” page. Would that information also be displayed in the export?

    Regards,
    Joseph

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Thu P. a11n

    (@thup90)

    Hi Joseph,

    > I was wondering if it was possible to add custom columns to the “Orders” page.

    I understand that you’d like to add custom columns to Orders page. However, could you explain a bit more what on these columns are and how you’ll get data into these columns?

    Nevertheless, this will require a custom solution, I’d suggest having a look at this guide to get you started: https://www.skyverge.com/blog/add-woocommerce-orders-list-column/. This shows how you can add a custom column to your Orders page. You’ll need to customize further to your needs to display your own custom data.

    If you need to hire someone to help with customizations, I recommend visiting our Customizations page (https://woocommerce.com/customizations/).

    It depends on which export tool you’re using to export the orders, it might be possible to export custom columns. If you’re looking for one that will, I suggest checking out WooCommerce Customer / Order / Coupon Export.

    I hope it helps. Feel free to get back to us in case you have any additional questions!

    Thread Starter neg0

    (@neg0)

    Hi @thup90,

    Thank you for your fast reply. Sorry i wasn’t clear in my first post.
    So i’m a developer and i made some changes to my Woocommerce panel. I’ve added columns to the backend to display some extra information i need. One of my most important columns is the reseller (Laboratoire on my screen 1). When an order is made i track the reseller ID and i save it in wp_postmeta. (see screenshot 1).

    I would like to display that information in the Woocommerce Admin plugin. I also need it to display in the export i get when i click on “Download” (see screenshot).

    Do you have some on how i could do that? Maybe guide me on the filters/actions i can use?

    Screenshots:
    1 : https://ibb.co/xjX023F
    2 : https://ibb.co/9b27dyg

    Regards

    Hello @neg0,

    Sorry for the confusion. We have an example extension that shows how to add a column to a report.

    https://github.com/woocommerce/woocommerce-admin/tree/master/docs/examples/extensions

    Check out the table-column folder.

    Thread Starter neg0

    (@neg0)

    Hi @jeffstieler,

    Great thanks, i’ll have a look at it ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add custom column to Orders’ is closed to new replies.