Missing Track & Trace column in orderlist
-
Hello,
Since the latest update, the track & trace (tracing URL) column has gone missing. I compared the code with an older version and the following code is absent in the latest build :
public function add_order_table_head_columns( $columns ) { $new_columns = []; foreach ( $columns as $column_name => $column_info ) { $new_columns[ $column_name ] = $column_info; if( 'order_status' === $column_name ) { $new_columns['shu_tracking'] = sprintf(__( 'Shops United %s', 'integration-shops-united-woocommerce' ), wc_help_tip(__('Shops United order', 'integration-shops-united-woocommerce'))); } } return $new_columns; } public function add_order_table_content_columns( $column, $post_id ) { if( $column == 'shu_tracking' ) { $tracking = get_post_meta( $post_id, '_parcelpro_track', TRUE ); $tracking_url = get_post_meta( $post_id, '_parcelpro_track_url', TRUE ); if ( ! empty($tracking) && ! empty($tracking_url) ) { echo '<b>' . __( 'Tracking:', 'integration-shops-united-woocommerce' ) . '</b> ' . "<a href=\"{$tracking_url}\" target=\"_blank\">{$tracking}</a>"; } else { echo '<span class="dashicons dashicons-minus" title="' . __( 'No', 'integration-shops-united-woocommerce' ) . '"></span>'; } } } $this->loader->add_action( 'manage_edit-shop_order_columns', $plugin_admin, 'add_order_table_head_columns', 10, 1 );What is the reason and can i expect to return this feature?
The topic ‘Missing Track & Trace column in orderlist’ is closed to new replies.