• Resolved Ben

    (@benrich)


    Hi. A potential bug when trying to delete a wishlist item. To replicate it, it requires a nuanced setup.

    The issue:

    • TI Wishlish claims to have removed an item but it hasn’t.

    My setup:

    • Fresh WordPress install with only WooCommerce and TI Wishlist enabled. Using the Storefront theme. All up to date.
    • Create a variable product with 3 variations and importantly having one of those variations as the default.
    • Change TI Wishlist’s settings so you can add & remove items on the category list page and the product page.

    Steps to reproduce:

    • On the category page, add your product to your wishlist. The default variation is added
    • On the product page try and remove the same variation from the wishlist.
    • The ajax response says it has been removed but it hasn’t.

    —–

    Some troubleshooting steps I’ve taken:

    • If you edit the product and set no default variation then the frontend functionality is as you would expect. So setting a default variation is the key to replicating the issue
    • With a default set, you can also reproduce the error by adding the default variation on the product page and then trying to remove the same variation on the category list page. It claims to have removed it but it hasn’t.

    I’m interested to see if you have any suggestions or if you can replicate it.

    Cheers

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author templateinvaders

    (@templateinvaders)

    Hi @benrich

    The most possible issue is that the product page wishlist saves some product addons or hidden meta. So when the wishlist tried to remove the default variation added from the catalog it passed extra product data and failed to remove it.

    We need to debug exactly your setup to see what extra product data should be ignored in your case.

    Thread Starter Ben

    (@benrich)

    Hi. I’ve emailed you access to a development site where you can replicate the issue and hopefully debug what’s going on. Please check your support inbox.

    Plugin Author templateinvaders

    (@templateinvaders)

    Hi @benrich

    We really appreciate your help in identifying this issue and we are glad to report that it has been resolved in version 2.3.6. Thank you again for your assistance!

    Thread Starter Ben

    (@benrich)

    Good job! Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unable to remove item when default variation selected’ is closed to new replies.