-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.11
-- PHP version -- : 7.3.x
-- Browser(s) name and version -- : Chrome
Hi,
I only want to sent an order created e-mail when the bank transfer is used. I found this post:
www.hikashop.com/forum/orders-management...-for-bank-trans.html
I created the following code:
<?php if($data->order_payment_method !== 'bank_transfer') $data->customer->user_email = ''; ?>
This code has to go on top in the order created e-mail template.
Is this still a valid way to sent the e-mail only on bank transfer skipping all others? Or is there an other smart way?
Regards!