• Resolved Nik Cirkle

    (@nikulv)


    Hello Support Team,

    I am experiencing an issue on the shop page with the wishlist plugin. The wishlist works perfectly for simple products, but for variable products, although the success message “Item added successfully” is shown when adding a variation, and the heart icon does not fill or activate. Additionally, the item is not added to the wishlist table/page.

    Could you please assist in resolving this issue?

    Thank you for your support.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello there,
    thanks for contacting us!

    Could you share with us your site URL please?

    Best regards.

    Thread Starter Nik Cirkle

    (@nikulv)

    Thread Starter Nik Cirkle

    (@nikulv)

    Have you checked?

    Hello there,

    I recommend running the following tests to see if the problem disappears at some point:

    • Add the following code in the functions.php file of your active theme:
    add_filter( 'yith_wcwl_remove_hidden_products_via_query', '__return_false' );
    • Update the plugin, WC, and WP to the latest version.
    • Switch to a default WP theme like 2025.
    • Leave only WC and our plugin active, and activate your plugins in batches until you find the one that conflicts.

    Could you check it, please?

    Best regards.

    Thread Starter Nik Cirkle

    (@nikulv)

    Hello,

    Thank you for your support. I have already ensured that all plugins, WooCommerce, and WordPress are up to date with the latest versions.

    I added the suggested hook add_filter( 'yith_wcwl_remove_hidden_products_via_query', '__return_false' ); to my functions.php file, and now variable products are working correctly in the wishlist, which is great!

    However, I have a couple of questions regarding the hook:
    – When is a product considered “hidden” in my store? Is this related to stock status, visibility settings, or something else?
    – What exactly does this hook do? Does it prevent hidden products from being removed from the wishlist, or is there another functionality it handles?

    I would appreciate your clarification on these points.

    Thanks.

    • This reply was modified 5 months, 3 weeks ago by Nik Cirkle.

    Hello there,

    Our plugin removes products with visibility=”hidden” from the wishlist, but we have the filter above to prevent this from happening.

    If you have any other questions, let us know.

    Best regards.

    Thread Starter Nik Cirkle

    (@nikulv)

    Thank you.

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

You must be logged in to reply to this topic.