• Resolved alaaeddin95

    (@alaaeddin95)


    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)
  • Thread Starter alaaeddin95

    (@alaaeddin95)

    Ops I forgot to provide screenshot for the console:

    https://ibb.co/9nY2hxX

    Plugin Author mingocommerce

    (@mingocommerce)

    Hi,
    The php code pasted above is actually no where related to this plugin. So no chance of a conflict.
    And the screenshot showing $(…) not a function, suggests that Jquery functions not working properly in the website. Again seems not really related to this plugin.
    Please fix jquery issues in you website and try ??

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.