Logged out user can’t have the modal on click
-
Hello,
Once I try to click Make an Offer nothing happened this problem happened after I added a code on function.php the code is:
function woo_login_redirect() { if ( ! is_user_logged_in() && ( is_cart() || is_checkout()) ) { wp_redirect( '/my-account/' ); exit; } } add_action('template_redirect', 'woo_login_redirect');
so what is the matter how I can fix this conflict?
Regards.
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Logged out user can’t have the modal on click’ is closed to new replies.