fabbb
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Redirect after create an account/***** PAGE AFTER REGISTRATION *****/
add_filter ( ‘woocommerce_registration_redirect’, ‘my_registration_redirect’);
function my_registration_redirect( $redirect ) {
$redirect = ‘http://www.site.com/after’;
return $redirect;
}/***** HOME AFTER LOGOUT *****/
add_filter(‘logout_url’, ‘projectivemotion_logout_home’, 10, 2);
function projectivemotion_logout_home($logouturl, $redir)
{
$redir = get_option(‘siteurl’);
return $logouturl . ‘&redirect_to=’ . urlencode($redir);
}Forum: Plugins
In reply to: [WooCommerce] Woocommerce / shop-page visbility for members onlyHi, I used the plugin Members Only.
It is simple to configure and you can add some redirect functions to choose which page you want to redirect after login.
I hope it will help you.
Fabbb
Forum: Plugins
In reply to: [WooCommerce] Woocommerce / shop-page visbility for members onlyHi, I ‘d like to make a member only shop with woo commerce. So get the wooC login page directly. I spent 2 days to find a plugin … I tried members, Members access, Membership and I tried s2members but I think it is to hard for me to understand how it works.
I would like to know how to configure s2members to get the whole entire site redirect to the woocommerce login (login and new user page) ?
Thanks
Fabbb