Home Forums WC Vendors Free Support Vendor not seeing order in frontend

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 22 posts - 1 through 22 (of 22 total)
  • Author
    Posts
  • #543
    torb
    Participant

    New orders does not show in the frontend dashboard for the vendor, but they do show in the backend dashboard. Any ideas?

    #544
    torb
    Participant

    I do get this on the vendor dashboard:

    Notice: Use of undefined constant pv_assets_url – assumed ‘pv_assets_url’ in /var/www/html/wp-content/plugins/wcvendors/WCVendors/classes/front/dashboard/class-vendor-dashboard.php on line 157

    #551
    WC Vendors Support
    Participant

    1.) Make sure you have Product Vendors deactivated. The two plugins can not operate simultaneously.

    2.) What version of WordPress/WooCommerce are you running?

    Ben

    #552
    torb
    Participant

    1. Product vendors is deactivated

    2. WordPress 3.9.2 and WooCommerce 2.1.12

    The orders can be seen in WooCommerce Reports in the backend, but is not listed in the frontend.

    #558
    WC Vendors Support
    Participant

    Can you try with all other plugins deactivated? I’m unable to replicate this bug, and I run several live stores…… I would imagine it’s either a plugin that’s screwing up for you or a theme issue.

    #559
    torb
    Participant

    I have deactivated every plugin but WooCommerce and WC Vendors, and switched to Twenty Fourteen. Same issue. New orders is tracked in the report, but not in the Vendor Dashboard. OUTGOING MAILS ARE SENT, though. Both the customer and the vendor get a notification about the order.

    Does this notice got anything to do with it:
    Notice: Use of undefined constant pv_assets_url – assumed ‘pv_assets_url’ in /var/www/html/wp-content/plugins/wcvendors/WCVendors/classes/front/dashboard/class-vendor-dashboard.php on line 157

    Or this error under WooCommerce – WC Vendors – Payments:
    WordPress database error: [Table ‘xyz_db.xyz_WCV_Commission’ doesn’t exist]
    SELECT sum(total_due + total_shipping + tax) as total FROM xyz_WCV_Commission WHERE status = ‘due’

    Notice: Trying to get property of non-object in /var/www/html/wp-content/plugins/wcvendors/WCVendors/classes/admin/settings/sf-options.php on line 257

    It does seem rather strange that the table is not found? Can I delete the plugin and re-install without loosing any data?

    #562
    Jamie
    Keymaster

    Hello,

    Those errors would probably stop your frontend dashboard from working properly.

    I can confirm those lines are indeed incorrect in the source code. For a quick fix, do the following.

    Change line 157 of class-vendor-dashboard.php from

    wp_enqueue_style( 'pv_frontend_style', pv_assets_url . 'css/pv-frontend.css' );

    to

    wp_enqueue_style( 'pv_frontend_style', wcv_assets_url . 'css/pv-frontend.css' );

    Line 251 of sf-options.php change

    $table_name = $wpdb->prefix . "WCV_Commission";
    to

    $table_name = $wpdb->prefix . "pv_commission";

    I’ve put this in our issue tracker to be fixed in the next release.

    #571
    torb
    Participant

    That took care of the error/notice, but I do not see the order in the front end.

    The vendor get an e-mail about the order, and the order can be seen in the WooCommerce report in the backend (as before) – but nothing in the Sales reports and Orders in the frontend.

    #572
    torb
    Participant

    Correction: It took care of the notice, not the database error, which is now changed to:

    WordPress database error: [Table ‘xxxx_db.rnp_pv_Commission’ doesn’t exist]
    SELECT sum(total_due + total_shipping + tax) as total FROM rnp_pv_Commission WHERE status = ‘due’

    Notice: Trying to get property of non-object in /var/www/html/wp-content/plugins/wcvendors/WCVendors/classes/admin/settings/sf-options.php on line 257

    #573
    Jamie
    Keymaster

    Hi Torb,

    You need to have all lower case for the table name. pv_Commission is incorrect. It should be pv_commision.

    cheers,

    #574
    torb
    Participant

    Thank you! I should of course have spotted that… 🙂

    #629
    torb
    Participant

    Orders are still not showing, though…

    #630
    WC Vendors Support
    Participant

    What’s the “rnp_” you have before “pv_commission” for? This is a class call, not a database table. 🙂

    #631
    torb
    Participant

    It’s not my code… 🙂 rnp_ is the database prefix.

    #632
    torb
    Participant

    The error is gone, so I guess your corrections were correct? It was after all a database error, right?

    But no orders show up in the Vendor dashboard.

    #639
    torb
    Participant

    @ben

    I am not sure if I understand you. This is a database table, right? The error I was referring to was a database error. The errors are gone, but I still got zero orders in the vendors dashboard.

    #678
    torb
    Participant

    Hi!

    Any update on this?

    #736
    Jamie
    Keymaster

    Hi Torb,

    The default date set for the reports on the front end don’t often show any orders. This is how the original plugin was designed. You should have a date picker form that allows you to select a period of dates to see the dates.

    cheers,

    #750
    torb
    Participant

    I can’t display any orders between 1970-01-01 to 2015-01-01, and all my orders are between these dates.

    Order: #12167 (September 17, 2014) – can’t be found.

    I started a new thread because I was not sure anyone read this one: Please see https://www.wcvendors.com/help/topic/missing-orders/

    #752
    WC Vendors Support
    Participant

    We havent been insanely active helping on this one because it’s a problem that only you are having. Create an Administrator account for me and email the login credentials to your site and the site URL to [email protected] I’ll take a peek and see if I can figure it out.

    #56092
    Mahesh Sanjeewa
    Participant

    Hi i have same issue. can i know how to fix this.

    #56109
    Anna
    Member

    Please provide your WooCommerce System Status in a reply.
    Please also go through our standard debugging steps first , make sure you follow them all THOROUGHLY and let me know the results: https://www.wcvendors.com/help/topic/read-before-requesting-support/

Viewing 22 posts - 1 through 22 (of 22 total)
  • The forum ‘WC Vendors Free Support’ is closed to new topics and replies.