“add to wishlist” button is not showing after ajax loading
-
Dear Support,
I am using your YITH Infinite Scroll and YITH Wishlist plugins on a WordPress site with the Astra theme. On the product page, the “Add to Wishlist” button is displayed correctly on the initially loaded products. However, products loaded via Infinite Scroll do not display this button.
I have tried resolving the issue by adding custom JavaScript to reinitialize the functionality after AJAX loading, but the button still does not appear. I also checked whether the class
yith-wcwl-add-to-wishlist-button
is generated for the products, but the button simply does not exist in the HTML structure of dynamically loaded products.This issue is critical because users cannot add products to their wishlist from the dynamically loaded products.
I kindly request your assistance in resolving this issue or guidance on how to ensure the button is displayed and functions properly for products loaded via Infinite Scroll.
Thank you in advance for your support!
Best regards, Aleksa
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.