• Resolved ghabhishek

    (@ghabhishek)


    Hi,

    When I click on “Add to Wishlist” on the product page of a variable product without selecting an option first, it shows an alert

    Please select some product options before adding this product to your wishlist.

    But can add these products from the archive page just fine without specifying any option. Any idea on how can I archive the same on product page?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Just wanted to post the exact same question.
    The plugin adds a “disabled-add-wishlist” class to the button and can’t be used without choosing a variation.

    What is the logic behind that ? I understand disabling the “buy” button without variation select, but why not just add the product to wishlist with no options?

    Thread Starter ghabhishek

    (@ghabhishek)

    @cucurucu
    The plugin allows you to add products from the product archive page without any options pre-selected which mean that it does support this feature so I suppose that it might just be some setting hidden in a corner somewhere. I’m hoping that the support staff will help us out.

    Thread Starter ghabhishek

    (@ghabhishek)

    Dear Team,

    Can you help me out here?

    Thanks!

    Plugin Author templateinvaders

    (@templateinvaders)

    Hi @ghabhishek and @cucurucu

    You can use the next filter to achieve your idea:
    add_filter( 'tinvwl_allow_add_parent_variable_product', '__return_true' );

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add Product to Wishlist without selecting an option.’ is closed to new replies.