• Hello
    I am displayin wishlist product count with YITH_WCWL()->count_products() on my template.
    My problem is that guests have number 0, even if they have items in it.

    I saw the above function takes a token for guests as parameter.
    I havent found though how to obtain that variable and pass it on count_products($token)

    Neither global $yith_wcwl_wishlist_token didn’t work nor I couldnt retrive $this->last_operation_token

  • The topic ‘Count products for guests’ is closed to new replies.