Wishlist button icon disappears
-
When an
addorremoveAJAX request doesn’t return adatakey in the response (example a guest clicks “Add to wishlist” while Disable for unauthenticated users is set toYes),frontend.jsthrows a JS error and the button’s icon is left blank instead of reverting to its normal state.
Result:
-Console error:Uncaught TypeError: Cannot read properties of undefined (reading 'fragments')atfrontend.js:240.-The button’s icon disappears entirely (no heart/normal icon, no loading spinner) and never restores unless the page is reloaded.
and it is not working properly with “Add to wishlist solely” Option from Action.
You must be logged in to reply to this topic.