Hi. How can we help?

Redirect vendor to a custom page after registration

The Multi Vendor plugin use the standard WooCommerce registration form so, after registration, a vendor will redirect to My Account page. If you want to redirect it in a custom page you can use this snippet of code:

add_filter( 'yith_wcmv_after_become_a_vendor_redirect_uri', 'yith_wcmv_after_become_a_vendor_redirect_uri' );

if( ! function_exists( 'yith_wcmv_after_become_a_vendor_redirect_uri' ) ){
function yith_wcmv_after_become_a_vendor_redirect_uri( $redirect_url ){
$redirect_url = 'https://www.google.com';
return $redirect_url;
}
}
 
Please, copy this code and past it at the end of functions.php file. This code redirect the vendor to https://www.google.com, replace this value with your custom url.
Was this article helpful?
0 out of 0 found this helpful

Back to Help Center >

Powered by Zendesk