• Resolved albabanos

    (@albabanos)


    Hi,
    I would like to know how to include the wishlist button on the minature of the product on a Shop Page, not in a product page.
    My idea is that people who is on a page where there are all the products shown, can include the products to the wishlist without having to open each product. Is it posible?

    Thank you so much

    The page I need help with: [log in to see the link]

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

    (@yithemes)

    Hello there,

    Thanks for contacting us and I hope you’re well =)

    Please add the following code on your functions.php on your theme

    if( ! function_exists( 'yith_add_loop_wishlist' ) ){
        function yith_add_loop_wishlist(){
            echo do_shortcode( '[yith_wcwl_add_to_wishlist]' );
        }
    }
    add_action( 'woocommerce_after_shop_loop_item', 'yith_add_loop_wishlist' );

    This function allow to show wishlist button on shop page.

    Please try it and let me know.

    Have a good day,
    YIThemes.

    Thread Starter albabanos

    (@albabanos)

    Yes! It works!! Thank you so much!!

    Plugin Author YITHEMES

    (@yithemes)

    Hello there,

    I’m glad to hear it’s working.

    I would like to invite you to leave a review about this plugin.

    You can leave a review by clicking on the following link

    Thanks in advance.

    Have a good day,
    YIThemes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Wishlist button at Shop page’ is closed to new replies.