Forums
Home / Plugin: TI WooCommerce Wishlist / Function (empty wishlist yes/no)
(@vasuman)
4 years, 12 months ago
Hi, there,
I have one question for you: Do you have any function to check if wishlist is empty or no?
Thanks Regards
(@templateinvaders)
Hi @vasuman
You can use next snippet to get wishlist products or false if a wishlist empty or not exists: https://gist.github.com/doozy/8178b9788be2797a0dc082b6a198c73f
P.S. this function will be added to the next update also.
Kind regards.