Redirect users to settings page

This topic contains 5 reply and 3 voices, and was last updated by Nayem 9 years, 2 months ago
Viewing 5 Posts - 1 through 5 (of 5 total)
Author Posts
September 3, 2015 at 11:08 am 70261
Nayem I want users to go to the store settings page after filling up the first entry registration form. How can I do that? Because the settings form has more details which they should fill up! The reason for this is I will only approve sellers who've filled full information.
September 3, 2015 at 6:17 pm 70337
towhid towhid

Hello Ghulam,

I am really sorry to say we are unable to provide any possible solution due to a heavy pressure. We have lots of pending task in our queue. My suggestion will be please hire an experienced developer and get the work done for you.

Thanks

September 3, 2015 at 7:44 pm 70390
Ghulam Ghulam

I was expecting this response from you. What’s the support for? This is such a basic request for which you are asking me to hire an experienced developer! Not pleased with your support.

September 5, 2015 at 1:11 am 70487
Nayem Nayem

Hello Ghulam,

You can try those codes-

add_filter('woocommerce_registration_redirect', 'ps_wc_registration_redirect');
function ps_wc_registration_redirect( $redirect_to ) {
     $redirect_to = dokan_get_navigation_url( 'settings/store' );
     return $redirect_to;
}

Insert those codes in your child theme’s function.php file.

Thanks.

September 7, 2015 at 12:15 pm 70750
Ghulam Ghulam

Thanks! Worked like a charm!!!

September 7, 2015 at 12:26 pm 70752
Nayem Nayem

Ghulam,

You are welcome. I am marking this topic as resolved.

Viewing 5 Posts - 1 through 5 (of 5 total)