Change stock export mail recipient

WCMp Vendor Stock Alert

Resolved
Viewing 5 reply threads
  • Author
    Posts
    • #140707
      kote.fr
      Participant

      Hello,

      I would like to change the email address of the “Alert admin” template.
      Indeed, the basic email address of the super Admin is the one that automatically receives the alerts, but I would like the email address of the Shop Manager to be alerted instead.

      I duplicated the template stock_alert_admin_email.php in a directory woocommerce/emails inside the theme but I can not change the email address of the recipient.

      At the very beginning of the code, there seems to be the following action:
      do_action( ‘woocommerce_email_header’, $email_heading, $email ); ?>
      I added just above : $email = ‘whatiwant@mail.fr’;

      But it is always the admin email address that receives the alert.

      Do you have a solution ?

      Sincerely,

      Quentin

    • #140716

      @kote.fr, thanks for your query.

      Can you please confirm that you want to send the Out of Stock email alert of admin to all shop managers or just one shop manager?

    • #140775
      kote.fr
      Participant

      Hello,
      I would like to be able to choose the email address of the recipient of the admin template alert.
      It doesn’t matter the solution (send to all type of account or just to one person)

    • #140784

      @kote.fr, I guess you might be using WooCommerce stock alert: https://wordpress.org/plugins/woocommerce-product-stock-alert

      In that case, you need to use our setting to pass an additional receiver : https://prnt.sc/dVCwq6KTH2xh

      Let us know if you are referring to something else. In that case, kindly explain this a bit more so we can assist you accordingly.

    • #140803
      kote.fr
      Participant

      Hi,
      Thanks for your help, it’s seem to work !
      Quentin

    • #140844

      You are welcome kote.fr 🙂

Viewing 5 reply threads

The topic ‘Change stock export mail recipient’ is closed to new replies.