email based on customer group

  • Posts: 18
  • Thank you received: 0
  • Hikashop Business
3 years 5 months 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: 81509
  • Thank you received: 13065
  • MODERATOR
3 years 5 months 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.054 seconds
Powered by Kunena Forum