Mobile App Refresh Campaign [Banner] 2024

WooCommerce Wishlists

WooCommerce Wishlists allows guests and customers to create and add products to an unlimited number of Wishlists.

AJAX fragment instead of embedding the code into the page to allow caching in Cloudflare

Please make the Add to Wishlist button a generic action rather than embedding visitor-specific code into the HTML, and use AJAX to retrieve the current visitor’s wishlist information for that product if they click on the button


Embed the generic Add to Wishlist button on the form (as you do today), and perform an AJAX request to get the user-specific fragment.

Currently, visitor-specific Wishlist code is embedded into the Add to Cart form, which prohibits us from using Cloudflare’s page caching functionality to mitigate heavy traffic.

My client sends email campaigns to 15,000+ members a few times a month, which means we get thousands of hits on the site, and each request has to be parsed by the server, causing performance issues.



Current Status


Last updated: June 4, 2023


Log in to comment on this feature request.