Is it possible for each vendor to disable email notifications?

WCMp Core

Tagged: 

Resolved
Viewing 5 reply threads
  • Author
    Posts
    • #117638
      jihan
      Participant

      I would like to ask, is it possible for each vendor to disable its own email notification? Can you please provide any recommendations for the plugins I should use?

    • #117709

      Hello,

      Thank you for reaching out to us.

      Can you please provide some more details about which email you want to disable so that our team can help you accordingly with the hooks and filter.

    • #117716
      jihan
      Participant

      So I want each vendor to be able to activate/deactivate email related to the vendor, for example, Vendor ‘A’ can deactivate all notification emails, and Vendor ‘B’ can activate/deactivate email notifications if there is a product order.

    • #117806

      Hi,
      As per your requirement you have to add good amount of custom code on your end for this functionality.
      Let me know if you need hook and filter.

      Regards,

    • #117809
      jihan
      Participant

      Yes I need a hook and filter for this feature.

    • #117856

      Hi,
      As per your requirement you have to use below hook and filter.
      To add extra field on vendor dashboard >> store settings >> storefront use below hook

      do_action('wcmp_after_shop_front');
      Copy

      To save the field data use bellow hook

      do_action('before_wcmp_vendor_dashboard');
      Copy

      To stop the vendor new order email use this filter

      woocommerce_email_recipient_vendor_new_order
      Copy

      Regards,

Viewing 5 reply threads

The topic ‘Is it possible for each vendor to disable email notifications?’ is closed to new replies.