Vendor Dashboard

This topic contains 31 reply and 2 voices, and was last updated by towhid 9 years, 5 months ago
Viewing 15 Posts - 1 through 15 (of 31 total)
Author Posts
May 4, 2015 at 7:20 am 42964
towhid 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
May 4, 2015 at 7:22 am 42965
Kelechi Kelechi

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

May 4, 2015 at 10:42 am 42974
towhid towhid

Hello Kelechi,

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

Thank you 🙂

May 4, 2015 at 11:48 pm 43064
Kelechi Kelechi This reply has been marked as private.
May 5, 2015 at 10:54 am 43085
towhid towhid

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 🙂

May 5, 2015 at 11:02 am 43087
Kelechi Kelechi This reply has been marked as private.
May 5, 2015 at 11:29 am 43090
towhid towhid

Hello,

Please mark the area where the names do not matching.

Thank you 🙂

May 5, 2015 at 11:31 am 43091
Kelechi Kelechi

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

May 5, 2015 at 11:37 am 43092
towhid towhid

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 🙂

May 5, 2015 at 2:19 pm 43106
Kelechi Kelechi This reply has been marked as private.
May 6, 2015 at 1:01 pm 43193
towhid towhid

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 🙂

May 6, 2015 at 1:12 pm 43194
Kelechi Kelechi

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.

May 6, 2015 at 1:13 pm 43195
Kelechi Kelechi This reply has been marked as private.
May 6, 2015 at 1:28 pm 43197
towhid towhid

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 🙂

May 7, 2015 at 3:14 pm 43324
towhid towhid

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 🙂

May 8, 2015 at 9:59 am 43399
Kelechi Kelechi

this is fine. but now all when vendors go from page 1 to page 2 all of the orders are the same. So the list of items is the exact same on the first and second page.

please help

Viewing 15 Posts - 1 through 15 (of 31 total)