IWishilstEvent

This interface is implemented by all events that fire after a product is added to a wishlist. There is only one such built-in event and you must subscribe using the interface, rather than the class.

In the event handler, you can access the following information:

  • The ID of the product added to the wishlish.
  • A list with the IDs of the product variations.
  • The ID of the wishlist.

Subscribe using the following code:

Was this article helpful?