[SOLVED] Payment details on confirmation email

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
11 years 4 months ago #110338

I have an payment method of Pay by cheque, how can I add the payment details to the confirmation email?
At the moment the following appears at the bottom of the email:

Your order will be processed as soon as we receive your payment in the following account.



Once again, thank you for your order at. . . . .


Thanks
Trevor

Last edit: 11 years 4 months ago by trevsmiff.

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

  • Posts: 82758
  • Thank you received: 13346
  • MODERATOR
11 years 4 months ago #110340

You can change that text to include the payment information by using a translation override:
www.hikashop.com/en/download/languages.html#modify

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

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
11 years 4 months ago #110343

Thanks for the quick reply Nicolas but it is not quite what I was looking for.
What I would like to do is to add the Check information from the HikaShop check payment plugin in the same way as it does for the Bank Transfer payments to remind the user how to pay.

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

  • Posts: 82758
  • Thank you received: 13346
  • MODERATOR
11 years 4 months ago #110347

And so why can't you add the check information via a translation override ? I'm not following you.

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

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
11 years 4 months ago #110353

If I add it to the translation override then the information will also be displayed if the user chooses to pay by bank transfer.

I have managed to solve it by overriding the Order Creation Notification email and adding 'or $data->order_payment_method=="check"' as follows. . .

<?php
if($data->order_payment_method=="banktransfer" or $data->order_payment_method=="check"){
 $class = hikashop_get('class.payment');
 $payment = $class->get($data->order_payment_id);
 $payment->payment_params = unserialize($payment->payment_params);
 echo $payment->payment_params->information;
}
?>

Last edit: 11 years 4 months ago by trevsmiff.
The following user(s) said Thank You: nicolas

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

Time to create page: 0.057 seconds
Powered by Kunena Forum