Support » Plugin: NC Wishlist for Woocommerce » [Bug incl. fix | 1.0.1] Multiple logged-in user conflict

  • Hey!

    As @k80sg reported earlier:
    https://wordpress.org/support/topic/issue-with-multiusers/

    I have the same issue.
    Multiple logged-in users can not save the same product to there wishlist. Because the check before adding it to the list just checks for the product ID not the user ID.
    Removing products from the wishlist as logged-in user also wipes all products from all wishlists of all users.

    I like the plugin in general so I fixed the two database queries. You can get the modified file here:
    https://gist.github.com/Drivingralle/d81249442649418e3f4ec82d2dd9d146
    By replacing the /nc-wishlist-for-woocommerce/public/class-nc-wishlist-for-woocommerce-public.php with the content of the Gist should fix the issues with adding and removing the same product to and from multiple users wishlists.

    I couldn’t find a GitHub repo to submit a PR.
    Happy to help fix the plugin.

    Greetings
    derRALF

  • The topic ‘[Bug incl. fix | 1.0.1] Multiple logged-in user conflict’ is closed to new replies.