email based on customer group

  • Posts: 18
  • Thank you received: 0
4 years 3 weeks ago #325232

-- HikaShop version -- : HikaShop Business 4.2.1

Is it possible not to send emails (order creation, status, payment, etc) to specific group of customers?
We want them to see their orders only via their customer account and not receive any email from Hikashop.

Please Log in or Create an account to join the conversation.

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
4 years 3 weeks ago #325245

Hi,

There is no option for that.
However, a small plugin could be developed to implement the onBeforeMailSend trigger www.hikashop.com/support/documentation/6...tml#onBeforeMailSend
There, you could just check the user groups of the user of the order from the data in $mail->data with a few lines of PHP code and set $mail->published to false to deactivate the sending of the email based on the result of your check.
If you're a PHP developer, it should be relatively easy to develop such a plugin.

Please Log in or Create an account to join the conversation.

Time to create page: 0.044 seconds
Powered by Kunena Forum