Home Forums WC Vendors Pro Support Email Notification if Product online

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.


Thank you to all of our customers!


Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #77182
    Ilja Becker

    if user create products, i need to approve them.
    But they don’t receive a Email if the Product go online.

    Can you help me?
    I can’t find the option.


    We do not have a built-in email for admin approval of products.

    Ilja Becker

    Is the function implemented in the future?
    Or have someone another solution for this?

    Ilja Becker

    if someone need too.

    /* WC Vendors Pro - Notify Vendor when Product is Approved */
    add_action( 'pending_to_publish', 'wcv_notify_vendor_on_publish' );
    function wcv_notify_vendor_on_publish( $post_id ) {
        global $post;
        if ( $post->post_author != get_current_user_id() ) {
        	$author = new WP_User( $post->post_author );
        	$email_data = array(
        		'to'      => $author->user_email,
        		'subject' => sprintf( __( 'Your post on %1$s has been published!', 'email_author_on_publish' ), get_bloginfo('name') ),
        		'message' => sprintf( __( 'Your post "%1$s" on %2$s has been published: %3$s', 'email_author_on_publish' ), $post->post_title, get_bloginfo( 'name' ), get_permalink( $post->ID ) ),
        	wp_mail( $email_data['to'], $email_data['subject'], $email_data['message'] );
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.