See all plugins

Heartlist documentation

Heartlist – Wishlist for WooCommerce. Version 2.0.4, requires WordPress 6.2 and PHP 7.4+.

Installation

  1. Upload the plugin through Plugins → Add New → Upload Plugin, or install it from the plugin directory.
  2. Activate it. A “My wishlist” page is created automatically.
  3. Adjust the options under WooCommerce → Wishlist.

Shortcodes

Place wishlist elements anywhere.

Shortcodes
ShortcodeWhat 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

  1. Filter heartlist_button_html to change the button markup.
  2. JavaScript event heartlist:change on document, with the current list in event.detail.items.
  3. CSS custom properties such as --hrtl-accent, --hrtl-float-bottom and --hrtl-float-side.

Privacy

  1. Logged-in customers: saved product IDs are stored in user meta (_heartlist_items).
  2. Guests: the list stays in the browser.
  3. 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.
  4. 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.