Support » Plugin: YITH WooCommerce Wishlist » Conditional tags

  • How to check if the product is already on the wish list?

    My button code:

    <a href="<?php echo get_permalink() . '?add_to_wishlist=' . get_the_ID(); ?>">
    Add to Wishlist
    </a>

    I want hide the button if the product already exists wishlist.

  • The topic ‘Conditional tags’ is closed to new replies.