Wishlist adds product events that will be used to define data after a successful item added to the wishlist.
If you want to trigger something once product added to wishlist or do some action after item added to the wishlist, you need to define "wishlist_add_product"
in your events.xml
file.
Create Observer Class to handle your logic after adding items to the wishlist. In the observer file, You got Product, Wishlist, and Current Item object, based on that you can retrieve/modify your logic. Continue reading “How to use of wishlist_add_product event in Magento 2?”