Send Whatsapp Message to Vendor on new Order

WCMp Core

Tagged: , ,

Resolved
Viewing 3 reply threads
  • Author
    Posts
    • #135916
      farazhussain3292
      Participant

      I want to send vendor a message on whatsapp whenever new order is generated. I know this functionality is not provided by your plugin, so I am developing it myself. I need you to share some of code details. Any hook or function which returns the phone number of current vendor, so I can use it further.
      Thanks & Regards
      Faraz Hussain

    • #135922

      Hi.
      you can get the vendor phone number from the vendor object

      $vendor = get_wcmp_vendor($vendor_id); //you have to provide the vendor id here
      $phone_number = $vendor->phone;
      Copy

      Regards,

    • #135981
      farazhussain3292
      Participant

      Thanks You can close this request.

    • #135989

      we are happy to help you
      We would love it if you shared your experience by giving us 5/5 review here :
      https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/reviews/#new-post
      Seeing glowing reviews from existing customers makes others more comfortable knowing they’ll get the support they need with an issue with our services when arise.

Viewing 3 reply threads

The topic ‘Send Whatsapp Message to Vendor on new Order’ is closed to new replies.