- Posts: 20
- Thank you received: 0
email based on customer group
5 years 11 months ago #325232
by mxcom
email based on customer group was created by mxcom
-- 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.
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.
5 years 11 months ago #325245
by nicolas
Replied by nicolas on topic email based on customer group
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.
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.167 seconds