Home Forums WC Vendors Free Support Redirecting Vendors to Vendor Dashboard on Login

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 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #28342
    Alexandre
    Participant

    Hi Ben,

    I followed the tutorial (image 1 attached), but it is still redirecting me to “my account, instead of “vendor dashboard”.

    Note: I tried to login from the vendor dashboard link

    #28345
    WC Vendors Support
    Participant

    Did you put the code into your child themes functions.php file?

    #28381
    Alexandre
    Participant

    Not sure if it is “child theme”, I only located “theme”.

    Attached is the folder location, can you please confirm it’s the right one?

    thanks

    #28399
    WC Vendors Support
    Participant

    Assuming you’re using the Cardinal theme, then yes, that’s the right place.

    Notice the text that says “If you’re using WC Vendors Free, uncomment the lines of code below”? Looks like you missed that.

    // <-- The two // is a comment in PHP. That means the code is turned off essentially. :) Remove the three sets of // underneath the text that tells you to remove them and all should work well.

    #28406
    ilian stantchev
    Participant

    off topic ..

    I also missed that on the 1st attempt – then it worked …..

    ben is the man …

    #28416
    Sunil
    Participant

    Hi Ben,

    I use the pro version, but even after modifying the code as attached in the theme folder (functions.php)it doesn’t redirect to dashboard.
    I use the essential theme. (http://themeforest.net/item/essential-responsive-woocommerce-ecommerce-and-auction-theme/5789584)

    #28419
    WC Vendors Support
    Participant

    @sunil228 The part that says 10, 2 try changing that to 1, 2 to make the filter you have there the higest priority. It’s possible your theme also has a filter for it, and is overriding ours. If that doesnt fix it, switch themes and test with the code in the new themes functions.php file, and if that doesnt do it start running through plugins to find the culprit.

    #29445
    Alexandre
    Participant

    worked, thanks Ben!

    #58906
    Tristan
    Participant

    Hello !

    I have a problem with this code, i added it on my functions.php in the child theme (dt-the7), and it returns an error on the my-account page. I have the pro version.

    Thanks for your support

    #58995
    Anna
    Member

    You need an opening and closing php.

    Put this before the code: <?php and this after the code: ?>

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