Viewing 9 replies - 1 through 9 (of 9 total)
  • Sorry for the delayed response, our office was closed due to our local holiday.

    The workflow, of our plugin, already displays the order status in the vendor dashboard. You can check the same in our demo site also.

    May I know where you want to display the status. A screenshot will be very much appreciated.

    Thread Starter Saurabh Jain

    (@saurabhj91)

    Hi Team,

    I am using the wp-admin for all my process. I want to show the order status in Orders table for admin login. Please check the screenshot for the same.
    The table is created from the plugin and the URL is wp-admin/admin.php?page=dc-vendor-orders

    @saurabhj91 You can get the order status from the Order id and then display the order status in a sperate column.

    This document might assist you with how you can display the order status: https://docs.woocommerce.com/wc-apidocs/class-WC_Order.html

    Thread Starter Saurabh Jain

    (@saurabhj91)

    Hi Team,

    I am having difficulty in adding one more column in the table.

    Saurabh, there is no such hook and filter that can be used to display the same.

    We will add some hook and filter in our next update for the same.

    We have added the hook so that you can add one more column.

    Thread Starter Saurabh Jain

    (@saurabhj91)

    @dualcube that’s great.

    What is the hook for adding the column?

    Thanks a lot for the support.

    To add additional column, please use this code snippet :

    apply_filters( "wcmp_manage_dc-vendor-orders_columns", $columns );
    for value >>> do_action( "wcmp_manage_dc-vendor-orders_column_data", $item, $column_name );
    Thread Starter Saurabh Jain

    (@saurabhj91)

    Thanks @dualcube,

    Will try this.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to add order status column in orders table?’ is closed to new replies.