• Resolved woober

    (@woober)


    Hi

    3.3 has this new orders screen. Which is only showing product info, if you click on the preview etc. button. Its faster to load and better to look at yes, but my work will become much slower.
    In the old version, i could show all orders-products and therefor know which orders i should start at first (specific order i have to do them, to complete them fast). Now i have no idea whats within the orders. Very time consuming.

    Question:
    How can i show what products is in the orders (like in the old version) or how can i use the old order page (issues?)?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Old admin orders list was to heavy and has been removed since Woocommerce 3. So to get that back on, that needs a custom development, assuming that the displayed order list will be heavier again.

    So you will need to hire a developer, if you don’t know how to do it.

    Thread Starter woober

    (@woober)

    To start with im looking for for a fix, instead of finding a developer.
    I dont mind waiting 1-3 sec. for it to load and not having to spend many minutes having to go though all the orders, to find out whats in them.

    Maybe there is a plugin or a quick fix (without having to downgrade woocommerce), like maybe overwrite a single file from the earlier version

    This code should show an order items column.

    add_filter( 'manage_shop_order_posts_columns', 'set_shop_order_posts_columns', 99 );
    function set_shop_order_posts_columns( $columns ) {
      $columns['order_items'] = 'Order items';
      return $columns;
    }
    
    add_action( 'manage_shop_order_posts_custom_column' , 'show_custom_columns', 10, 2 );
    function show_custom_columns( $column_name, $post_id ) {
      switch ( $column_name ) {
        case 'order_items':
          $order = new WC_Order( $post_id );
          $order_items = $order->get_items();
          $nr = 1;
          foreach( $order_items as $order_item ) {
            print $nr.') '.$order_item->get_name().'<br>';
            $nr++;
          }
          break;
      }
    }

    The code can be added to functions.php in your child theme or you can use the “My Custom Functions” plugin.

    Thread Starter woober

    (@woober)

    Thank you so much lorro! Works perfectly

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Old order screen?’ is closed to new replies.