Support » Plugin: YITH WooCommerce Wishlist » Conditional tags

  • Angelo Rocha


    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

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

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