Xavier wrote: Hi,
He gave you a link to this topic because the method for the payment methods is the same than the shipping, just have to replace shipping by payment.
<?php $paymentClass = hikashop_get('class.payment');
$payment = $paymentClass->get($data->order_payment_id);
$payment->payment_params = unserialize($payment->payment_params);
echo 'Payment method: '. $payment->payment_name; ?>
Hello, I feel a bit stupid, but can you tell me where exactly (what line?) I need to add this code in email?
Your advice is appriciated