Home Forums WC Vendors Pro Support Vendor Dash + Orders

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 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #56947
    Raghav
    Participant

    Hi there,

    1) I have created the two dashboard pages one for normal accounts and one for the pro dashboard. However, when vendors log in, they are faced with the standard my-account page but with a link further down, that leads them to the Pro dashboard. Is it possible to have the vendors always go directly to the pro dashboard?

    2) In the vendor back end, is it possible for the vendor to click on the order and see the full details about it? At the moment, it shows limited order details at the moment. The vendor is not able to switch the order status from Processing to Completed and they don’t get to see the additional text message that the users can enter when checking out. Also, it’d be cool if the vendor could click into the order and see the buyers details as well as the delivery address in case the two addresses are different because people will use the platform to send gifts.

    Below I will attach screenshots of the two points.

    Thanks

    #56948
    Raghav
    Participant

    1 and 2

    #56951
    Raghav
    Participant

    Ideally the vendors would be able to see the full order like the sites main admin can as the attached image

    #56953
    Raghav
    Participant

    Sorted the full order issue by enabling via Pro but the other issue remains, thanks

    #56959
    DELETE
    Participant

    To redirect on login, this did the trick for me. Add to functions.php:

    
    // Redirect Vendors to Vendor Dashboard on Login
    add_filter('woocommerce_login_redirect', 'login_redirect', 10, 2);
    function login_redirect( $redirect_to, $user ) {
    
        // WCV dashboard -- Uncomment the 3 lines below if using WC Vendors Free instead of WC Vendors Pro
        // if (class_exists('WCV_Vendors') && WCV_Vendors::is_vendor( $user->id ) ) {
        //  $redirect_to = get_permalink(WC_Vendors::$pv_options->get_option( 'vendor_dashboard_page' ));
        // }
    
        // WCV Pro Dashboard
        if (class_exists('WCV_Vendors') && class_exists('WCVendors_Pro') && WCV_Vendors::is_vendor( $user->id ) ) {
            $redirect_to = get_permalink(WCVendors_Pro::get_option( 'dashboard_page_id' ));
        }
        return $redirect_to;
    }
    #56993
    Raghav
    Participant

    Hey I tried doing that after the <?php tag on functions.php of the theme but then the site broke and I had to go in via cpanel to remove the code to make it work again, thanks

    #57075
    Anna
    Member

    Perhaps the code format was incorrect- but that code should work. try this format in your theme/child theme functions.php:
    https://gist.github.com/fervous/267c30de4d0ac0342b37e140d6bab877

    #57087
    Raghav
    Participant

    works great thanks

    #57168
    Anna
    Member

    Great- glad it is working for you now.

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