Email Notification on Registration submission

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WC Vendors Email Notification on Registration submission

Viewing 1 reply thread
  • Author
    Posts
    • #133564
      eguareone
      Participant

      Hi,

      Premium Support ticket is taking forever to reply so i had to post here

      Does anyone know how i can:

      1. Set a limited amount of products per subscription plan
      2. Add a new notification to send to vendors on successful registration… currently, the system is set to approve vendors upon registration but it doesn’t send an email to the vendor after the registration. It only does this when the admin approves the application. How can I enable this feature?
      3. replace this with a custom logo? Find the attachment below

      Thanks and earnestly waiting for a response.

      Attachments:
      You must be logged in to view attached files.
    • #135336

      Hello,

      1. Set a limited amount of products per subscription plan
      >>For this you need our WCFM-Groups&Staff plugin(https://wclovers.com/knowledgebase/wcfm-groups-staffs/). Using this you can set capability(example:Product limit capability)exa for each membership plan.

      2. Add a new notification to send to vendors on successful registration… currently, the system is set to approve vendors upon registration but it doesn’t send an email to the vendor after the registration. It only does this when the admin approves the application. How can I enable this feature?
      >> You can use “wcfm_approval_reminder_admin_after” hook for this.
      Add the below code in your theme’s functions.php-

      add_action('wcfm_approval_reminder_admin_after','wcfm_custom_vendor_meil_send_before_approve',10,2);
      function wcfm_custom_vendor_meil_send_before_approve($member_id, $wcfm_membership) {
      	global $WCFM, $WCFMvm, $wpdb;
      	
      	$member_id       = absint( $member_id );
      	$member_user     = new WP_User( absint( $member_id ) );
      	$shop_name       = get_user_meta( $member_id, 'store_name', true );
      	$wcfm_membership = get_user_meta( $member_id, 'temp_wcfm_membership', true );
      	$subject = 'Before approve mail';
      	$message = "Dear User,
      																								<br /><br />
      																								Account created. 
      																								<br /><br />
      																								Thank You";
      	wp_mail( $member_user->user_email, $subject, $message ); 
      }

      change the “subject” and “message” as per your requirement.

      3. replace this with a custom logo? Find the attachment below
      >> Sorry, we don’t have the flexibility to change this image using any filter/hook.
      You can change this to replace “wcfmmp-30X30.png” image in folder “\wp-content\plugins\wc-frontend-manager\assets\images\wcfmmp-30X30.png”

      Thanks.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.