skip to Main Content

Add row number column for order line items on WooCommerce admin order details page – WordPress

I'm trying to add a column to display the row number in the product table. I added a column via this snippet: add_action('woocommerce_admin_order_item_headers', 'add_number_of_row_order_items_header'); function add_number_of_row_order_items_header() { echo '<th> NO. </th>'; } function get_number_of_row_item($_product, $item, $item_id = null) { $value…

VIEW QUESTION
Back To Top
Search