Removing from wishlist table does not reload the table
-
If I click “X” to remove item from wishlist on page that includes [wishsuite_table] shortcode, the product is removed and I get the notification that it is removed but it still remains visible.
After some digging I discovered that there is a bug in frontend.js function ajaxRequestToRemoveItem – more specifically the line:
$('.wishsuite-table-content').closest('.entry-content').html(html);If you search the whole plugin code this .entry-content class is only here and nowhere else in the code.
If I replace the line above with:$('.wishsuite-table-content').replaceWith(html);then it works.
Just a hint for a fix in the next version – I’ve now fixed this in my plugin installation and I don’t want it to break again with the next update.
The topic ‘Removing from wishlist table does not reload the table’ is closed to new replies.