WooCommerce: Display Slug in Products list page

// Add product slug column after product name
    function add_product_slug_column_heading( $columns ) {
        $slug_column = array(
            'product_slug' => __( 'Slug' )
        );
        $columns = array_slice( $columns, 0, 3, true ) + $slug_column + array_slice( $columns, 3, count( $columns ) - 1, true );

        return $columns;
    }
    add_filter('manage_edit-product_columns','add_product_slug_column_heading');

    // Display product slug
    function add_product_slug_column_value( $column_name, $id ) {
        if ( 'product_slug' == $column_name ) {
            echo get_post_field( 'post_name', $id, 'raw' );
        }
    }
    add_action( "manage_product_posts_custom_column", 'add_product_slug_column_value', 10, 2 );