Claim your freedom to choose the perfect partner for your multi-vendor journey.

FREEDOM25

Celebrate the festive season by giving your marketplace a powerful lift!

FESTIVE20

5.0.x
Multi-store. Franchise. Facilitator. AI tools.
Everything your marketplace needs - now in one platform.
Power your marketplace dreams with unbeatable Black Friday deals!

MVXBLACK30

Supercharge your marketplace vision with unstoppable Cyber Monday deals!

MVXCYBER30

Holiday cheer, bigger savings
Take 25% off-because your marketplace deserves a gift too.

happyholiday

-
DAYS
-
HOURS
-
MINUTES
-
SECONDS
20% Off Is Temporary. The Benefits Aren't.

HAPPY20

Join the MultiVendorX Facebook Community

Contact, share, and grow with thousands of MultiVendorX users around the world.

Vendor Order notification

Resolved
Viewing 3 reply threads
  • Author
    Posts
    • #219981
      webmaster
      Participant

      Hi Please, could you assist in change the vendor order notification to only be sent when payment has been received and not when the order is placed.

    • #220000

      Hello There, Kindly add the below code in the functions.php file of your current active theme –

      function restrict_vendor_new_order_mail($recipient, $order) {
      $order_status = $order == NULL ? "cancelled": $order->get_status();
      //In new order,vendor will receive only 'processing' mail no other mail will send to vendor.
      if ($order_status == 'failed' || $order_status == 'on-hold' || $order_status == 'cancelled' || $order_status == 'pending' || $order_status == 'processing') {
      return;
      } else {
      return $recipient;
      }
      }
      add_filter('woocommerce_email_recipient_vendor_new_order', 'restrict_vendor_new_order_mail', 1, 2);

      Let us know if you need any further assistance from our end.

    • #220002
      webmaster
      Participant

      Thank you. Code worked perfectly.

    • #220004

      Glad to hear that. Let us know if you need any further assistance from our end.
      Also, it would be really great if you can give us 5/5 review here:
      https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/reviews/#new-post.
      This would motivate the team further to do their job more efficiently.

Viewing 3 reply threads
  • The topic ‘Vendor Order notification’ is closed to new replies.
Shopping Cart
Launch Your Marketplace
in Days, Not Month
Get expert guidance to build, scale, and grow your MultiVendorX marketplace
Book Free Strategy Call
Trusted by 10000+ marketplace Owners
Scroll to Top