Unable to remove item when default variation selected
-
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)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Unable to remove item when default variation selected’ is closed to new replies.