Support » Plugin: Product Delivery Date for WooCommerce - Lite » How to rearrange delivery date column in edit order table ?

  • Resolved mehediasadpur

    (@mehediasadpur)


    I want to show delivery date column in 2nd position in edit order table. Here is the code snippet I’m trying.
    [code]
    add_filter( 'manage_edit-shop_order_columns', 'Delivery_Date');

    function Delivery_Date( $columns_array ) {

    // I want to display delivery date column after order

    return array_slice( $columns_array, 0, 2, true )
    + array( 'order_delivery_date' => 'Delivery Date' )
    + array_slice( $columns_array, 2, NULL, true );
    }
    [/code]

Viewing 1 replies (of 1 total)
  • Plugin Support priyankajagtap

    (@priyankajagtap)

    Hi @mehediasadpur,

    I apologize for the delay in response.

    Thank you for sharing the code snippet you are using.

    You can refer to the below blog post and add the delivery date data from the meta information. The meta key for the delivery dates is “Delivery Date” and “_prdd_lite_date”.
    Post link: https://www.tychesoftwares.com/add-new-column-woocommerce-orders-page/

    This blog explains how you can add new columns on the WooCommerce orders page and rearrange the position of the columns.

    Please check the same and let us know if you have any questions about it.

    Regards,
    Priyanka Jagtap

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.