Hi,
there is no need (at least at the moment) to approve vendors on my site.
So after using the registration formula, they will directly forwarded to the vendor dashboard.
I would like to change this. So for the first time, when they submitting as a vendor via the registration formula they should be redirected to another site / URL.
I found only posts how they will be redirected always after login or something else…
Finally I was able to resolve this by myself.
It was quite more simple as thought:
add_filter('wcmp_vendor_login_redirect', 'redirect_to_submit_deal');
function redirect_to_submit_deal($redirect)
{
return 'my-url-here';
}
Copy
Thought that I have already tried this code – but there was may just a litte issue inside.
Now it’s working. 🙂
Can you please additional tell my, how I can customize this so that the submitted vendor will be logged out?
So this would be a kind of email verification:
The vendor needs access to this mail account to login with the password which will be generated automatically and sent him to his mail account.
This would be awesome.
But both did not the job. I’m always will be redirected to the dashboard and not to another site / URL.
Could you please assist with the code?
Do I need to customize something?
I presume that your issue is resolved, since, we haven’t heard back from you.
We are marking this thread as resolved.
Kindly open a new thread if you face any further query.
Author
Posts
Viewing 6 reply threads
The topic ‘After vendor registration redirect to another site’ is closed to new replies.
Buy all Marketplace addons together, check out our Bundle