• Resolved fecouse

    (@irani20)


    hi dear
    What if we want to display a message when the wishlist is empty
    What function should we use?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Stan

    (@stantinv)

    Hi @irani20,

    You can achieve this by customizing the ti-wishlist-null.php template or using the tinvwl_wishlist_is_null action.

    Regards,
    Stan

    Thread Starter fecouse

    (@irani20)

    i user this code:

    <?php
    if (tinvwl_wishlist_is_null()) {
        echo'hello';
    }
    else {
        echo'godbye';
    }
    
    ?>

    but not loaded
    plese send semple code for this problem.
    thank you.

    Plugin Author templateinvaders

    (@templateinvaders)

    Hi @irani20

    The ‘tinvwl_wishlist_is_null’ is an action that could be hooked! Not a function as you tried in the example above.

    Kind regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘if empty wishlist’ is closed to new replies.