Home Forums Theme Support Dokan Dokan Totals and Orders Quantity

This topic is: not resolved

This topic contains 18 replies, has 3 voices, and was last updated by  Simon 3 years, 9 months ago.

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #67070

    Simon
    Member
    Post count: 99

    Craig, if it's any help, I'm having this issue since May and still no resolution.

    #67128

    Craig
    Member
    Post count: 24

    Simon – This is frustrating to hear. This plugin cost my business over $1000 in vendor payout because the calculations were wrong and the system is not working as they said. Have you started looking at alternatives? If I don't have a fix within the next couple of weeks, I am getting a refund for a product that does not work and moving on.

    #67238

    towhid
    Participant
    Post count: 4505

    Hello Craig,

    I am really sorry for my late reply. We had a bug on the dashboard so that it took a while to reply you.
    Please paste this code in the theme's functions.php file.

    add_filter( 'woocommerce_dashboard_status_widget_sales_query', 'dokan_filter_woocommerce_dashboard_status_widget_sales_query' );
    
    function dokan_filter_woocommerce_dashboard_status_widget_sales_query( $query ) {
    global $wpdb;
    $query['where']  .= " AND posts.ID NOT IN ( SELECT post_parent FROM {$wpdb->posts} WHERE post_type IN ( '" . implode( "','", array_merge( wc_get_order_types( 'sales-reports' ), array( 'shop_order_refund' ) ) ) . "' ) )";
    return $query;
    }

    OR, if you update the plugin you do not need to do the above job. Just update the plugin to 2.4.2.

    Thanks

    #67265

    Simon
    Member
    Post count: 99

    Yes, Craig. It is the same for me. It's nearly 3 months since I've had this problem and now I can't even have the web site up. It just seems like the team are not reading my posts and keep asking me to ask my hosting providers to do things which have cost me thousands of euro in fees never mind the loss of earnings for/from my sellers.

Viewing 4 posts - 16 through 19 (of 19 total)

The topic ‘Dokan Totals and Orders Quantity’ is closed to new replies.