Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WC Vendors › Email Notification on Registration submission
- This topic has 1 reply, 2 voices, and was last updated 4 years, 6 months ago by Sarmistha Chakraborty.
- AuthorPosts
- May 20, 2020 at 7:28 pm #133564eguareoneParticipant
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 belowThanks and earnestly waiting for a response.
Attachments:
You must be logged in to view attached files. - May 26, 2020 at 2:01 pm #135336Sarmistha ChakrabortyMember
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.
- AuthorPosts
- You must be logged in to reply to this topic.