Heartlist documentation
Heartlist – Wishlist for WooCommerce. Version 2.0.4, requires WordPress 6.2 and PHP 7.4+.
Installation
- Upload the plugin through Plugins → Add New → Upload Plugin, or install it from the plugin directory.
- Activate it. A “My wishlist” page is created automatically.
- Adjust the options under WooCommerce → Wishlist.
Shortcodes
Place wishlist elements anywhere.
| Shortcode | What it does |
|---|---|
[heartlist] | The wishlist page |
[heartlist_button id="123"] | A heart button for any product (ID optional on product pages) |
[heartlist_count] | Heart icon with the number of saved items, for headers |
For developers
- Filter heartlist_button_html to change the button markup.
- JavaScript event heartlist:change on document, with the current list in event.detail.items.
- CSS custom properties such as --hrtl-accent, --hrtl-float-bottom and --hrtl-float-side.
Privacy
- Logged-in customers: saved product IDs are stored in user meta (_heartlist_items).
- Guests: the list stays in the browser.
- Email alerts (off by default) store the email, the time of consent and the watched products. Every email has a one-click unsubscribe that deletes the record.
- The plugin makes no external requests.
FAQ
Does it work with page caching?
Yes. Button states and the wishlist page are filled in by JavaScript in the visitor’s browser, so cached pages are safe.
Where are guest lists stored?
In the browser’s local storage. Nothing about guests is stored on your server.
What happens when a customer logs in?
The list in their browser is merged with the list saved in their account, and kept in sync from then on.
Does it send data to third parties?
No. All data stays in your WordPress database and emails are sent through your own site.
Still stuck? Contact support or read the Heartlist changelog.