I have a custom wishlist that works correctly. But if I load my custom items through the loadmore button, the wishlist script seems to stop working completely and when I click on the "heart" button, the page reloads instead of adding the item to favorites.
It worked without problems before. Nothing has changed, but it stopped working. What could be the problem?
If I throw the wishlist.js code into the debug console, everything works correctly. In the source code, I see wishlist.js , but after clicking the loadmore button, it seems to stop working..
it can be seen here. when the page is loaded, click on the heart and everything is ok, if you click loadmore and from the product that loaded, click on the heart, nothing works
Thanks in advance for your help
https://cutt.ly/zXanPXM