Home Forums Theme Support Dokan Vendor Dashboard

This topic is: not resolved

This topic contains 31 replies, has 2 voices, and was last updated by  towhid 4 years ago.

Viewing 15 posts - 1 through 15 (of 32 total)
  • Author
    Posts
  • #42964

    Kelechi
    Member
    Post count: 91

    In the orders section of the vendor dashboard, orders and customer names are not showing correctly. The same name shows multiple times and when you click to view information about some orders another name will show

    #42965

    Kelechi
    Member
    Post count: 91

    I'm not sure how to upload an image to show you guys

    #42974

    towhid
    Participant
    Post count: 4505

    Hello Kelechi,

    You can upload image through http://postimg.org/, https://www.copy.com/ or http://docs.google.com/

    Thank you ๐Ÿ™‚

    #43064

    Kelechi
    Member
    Post count: 91
    This reply has been marked as private.
    #43085

    towhid
    Participant
    Post count: 4505

    Hello Kelechi,

    Are those indicate any inconsistency? I am not sure. Can you please elaborate it more. I can see duplicate order but those orders are based on per order number. So there are no chances of duplicating any order. But there could be multiple customer in the order page because there are multiple order for same customer.

    Thank you ๐Ÿ™‚

    #43087

    Kelechi
    Member
    Post count: 91
    This reply has been marked as private.
    #43090

    towhid
    Participant
    Post count: 4505

    Hello,

    Please mark the area where the names do not matching.

    Thank you ๐Ÿ™‚

    #43091

    Kelechi
    Member
    Post count: 91

    none of the names are matching or correct. please fix this bug. i can give you access to my backend if you need it

    #43092

    towhid
    Participant
    Post count: 4505

    Off course I will fix up. But let me mark down the area in compare of those two image you have sent to me.

    Thank you ๐Ÿ™‚

    #43106

    Kelechi
    Member
    Post count: 91
    This reply has been marked as private.
    #43193

    towhid
    Participant
    Post count: 4505

    Hello Kelechi,

    When I checked the orders page for a vendor I have seen there is no unmatched customer name. Please check out the screenshot:

    Thank you ๐Ÿ™‚

    #43194

    Kelechi
    Member
    Post count: 91

    hello, please try to understand the problem. the name is not matching what is seen on LIST OF ORDERS page. And this is not all orders, only some. view each order and you will see many do not match and the name is duplicated.

    #43195

    Kelechi
    Member
    Post count: 91
    This reply has been marked as private.
    #43197

    towhid
    Participant
    Post count: 4505

    Hello Kelechi,

    I have noticed the issue. I have already forward this issue to our developer team. Please allow me some time. I will be back to you with a right solution.

    Thank you ๐Ÿ™‚

    #43324

    towhid
    Participant
    Post count: 4505

    Hello Kelechi,

    Step 1: Please open dokan-plugin/templates/orders/listing.php

    Step 2: Find this line of code

    if ( $the_order->user_id )
                                $user_info = get_userdata( $the_order->user_id );
    
                            if ( !empty( $user_info ) ) {
    
                                $user = '';
    
                                if ( $user_info->first_name || $user_info->last_name )
                                    $user .= esc_html( $user_info->first_name . ' ' . $user_info->last_name );
                                else
                                    $user .= esc_html( $user_info->display_name );
                            } else {
                                $user = __( 'Guest', 'dokan' );
                            }
    
                            echo $user;

    Step 3: Replace this code over above line of code

    if ( $the_order->user_id )
                                $user_info = get_userdata( $the_order->user_id );
    
                            if ( !empty( $user_info ) ) {
    
                                $user = '';
    
                                if ( $user_info->first_name || $user_info->last_name )
                                    $user .= esc_html( $user_info->first_name . ' ' . $user_info->last_name );
                                else
                                    $user .= esc_html( $user_info->display_name );
                            } else {
                                $user = get_post_meta( $order->order_id, '_billing_first_name', true ). ' '. get_post_meta( $order->order_id, '_billing_last_name', true );
                            }
    
                            echo $user;

    Thank you ๐Ÿ™‚

Viewing 15 posts - 1 through 15 (of 32 total)

The topic ‘Vendor Dashboard’ is closed to new replies.