• Hello, im using your plugin to a multivendor website with no issues.

    The question is if i can notify the vendor that a user has added his product to a wishlist. Do you provide any hook or action that triggers when a product is added to the wishlist i can use to create an automation with that?

    Thank you in advance!

Viewing 1 replies (of 1 total)
  • Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,
    thanks for contacting us!

    We don’t currently have a notification system for that, but you can use the following hook:

    /**
    * DO_ACTION: yith_wcwl_added_to_wishlist
    *
    * Allows to fire some action when a product has been added to a wishlist.
    *
    * @param int $prod_id Product ID
    * @param int $wishlist_id Wishlist ID
    * @param int $user_id User ID
    */
    do_action( 'yith_wcwl_added_to_wishlist', $prod_id, $item->get_wishlist_id(), $item->get_user_id() );

    If you have any other questions, feel free to contact us.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Notification for adding a Product’ is closed to new replies.