Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi nimh

    For sure, you can use a simple PHP snippet in your page code, to condittionaly print an anchor tag.

    It would be something like this

    <?php if( function_exists( 'YITH_WCWL' ) && YITH_WCWL()->count_products() ): ?>
    <a href="<?php echo YITH_WCWL()->get_wishlist_url() ?>"><?php _e( 'Wishlist', 'yith-woocommerce-wishlist' ) ?></a>
    <?php endif; ?>

    Let me know if this helps you
    Have a nice day 🙂

    Thread Starter nimh

    (@nimh)

    works great!

    Thanks

    Plugin Author YITHEMES

    (@yithemes)

    Hi again

    glad to hear good news 🙂

    If you have appreciated our plugin and our support, please don’t forget to give us a 5-star vote, and consider buying our premium version: here you can find more information about it, and here you can try a live demo of the plugin. 😉

    Have a nice day!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Wishlist Link display’ is closed to new replies.