Want to react the moment a customer saves a product, maybe with a discount or a reminder? When a product is added to a wishlist, SaveTo Wishlist sends a signal that Popup Maker can use to show a popup. This guide shows you how to connect the two.
Before you start
- Popup Maker installed and active.
- SaveTo Wishlist active.
- A way to add a small code snippet, such as a code snippets plugin or your theme.
The signal SaveTo sends
When a customer adds a product to a wishlist, SaveTo does two things you can build on:
- It fires a browser event named
stwlite_added_to_wishlist. Use it to open a popup instantly. - It sets a cookie named
stwlite_wishlist_added. Use it to target a later visit, such as an exit-intent popup.
Both fire only after the product is actually saved, and both work for logged-in customers and guests.
Show a popup the moment a product is wishlisted
- In Popup Maker, create a popup with the message you want to show.
- Under the popup’s conditions, choose where it should load, for example Any WooCommerce Page, so it’s available on your shop and product pages.
- Under triggers, use Click Open so the popup doesn’t open on its own.
- Publish the popup and note its ID, shown in the Popup Maker popups list.
- Add this snippet to your site, replacing
123with your popup’s ID:
document.addEventListener('stwlite_added_to_wishlist', function () {
if (window.PUM) { PUM.open( 123 ); }
});
Save your changes. Now the popup opens whenever a customer adds a product to their wishlist.

Signal reference
- Event:
stwlite_added_to_wishlist, fired ondocument. Its detail containsproductIdandcollectionId. For guests,collectionIdis 0. - Cookie:
stwlite_wishlist_added. Its value is the product ID. It lasts 30 days and clears when the customer removes their last wishlist item.
Frequently asked questions
Do I need to know how to code?
No development is needed. You paste the snippet with a code snippets plugin, and only the popup ID changes.
Why doesn’t my popup open?
Check that the popup’s conditions include the pages where customers use the wishlist button, and that its trigger is Click Open. Popup Maker only loads a popup where its conditions match.
Can I show the popup on a later visit instead?
Yes. Use the stwlite_wishlist_added cookie to target a return visit, for example with an exit-intent popup.
Does it work for guests?
Yes. The signal fires for guests and logged-in customers.
Need help?
If you have a question or run into any issues, we’re here to help.
- Premium users: Open a support ticket
- Free users: Visit our community forum
