Skip to:
Content
Pages
Categories
Search
Top
Bottom

Integrate Private Message and WooCommerce email notification

  • @hendcorp

    Participant

    Is there any way to integrate Private Message with WooCommerce emails notification?
    Basically, I want to put every single WooCommerce notification email into user inbox.
    For example, when they’re purchase an item, they will get an email from the website. I want they also get the copy into their inbox (in BuddyPress Private Message).

    Is it possible to do?

    I tried to find the solution on the internet but still stuck.
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • @espellcaste

    Moderator

    BuddyPress has a API that you can use: https://codex.buddypress.org/component/private-messages/

    You can hook at the WooCommerce actions when sending the emails and send your private messages.

    Hope that helps! 🙂

    @hendcorp

    Participant

    Hi @espellcaste
    Thanks for your help!

    But I still stuck. 🙁
    Can you please give me little example?

    @hendcorp

    Participant

    Hi, ignore my previous reply. I finally found a way.
    I have successfully sent a copy of WooCommerce notification into user’s inbox.

    But unfortunately, the message is in plain format.
    Is it possible to enable HTML format?
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar