• Hi, I’ve a problem while trying to remove a product from the wishlist as unsubscribed user.
    I tried to print the $whishlist variabile at line 370 of class.yith-wcwl.php

    and I get the following result in the XHR response

    array(1) {
      [0]=>
      array(3) {
        ["prod_id"]=>
        string(4) "8305"
        ["quantity"]=>
        int(1)
        ["wishlist_id"]=>
        bool(false)
      }
    }

    is it correct that the wishlist has not an id for visitors?

Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi Danfox

    yes of course: unauthenticated users’ wishlists are stored in a cookie, and don’t have any ID

    Could you please check if wishlist table, in your wishlist page, contains a non empty data-id attribute?

    Besides, could you please share with me an url where I can check the problem? ??

    Please, let me know
    Have a nice day

Viewing 1 replies (of 1 total)
  • The topic ‘Visitor wishlist not working’ is closed to new replies.