News:

Looking for documentation? Take a look on our wiki

Main Menu

Add Payment Info into Order Confirmation Email

Started by viaform, March 07, 2012, 10:57:14 AM

Previous topic - Next topic

viaform

Hello,

how to add Payment Information text into the confirmation Email?

Backend -> virtuemart -> Shop -> Payment Methods -> Payment Name -> Payment Info  <-------- into mail!

Thanks for help!

K&K media production

I have the same problem. Do you have found a solution?

Or has anybody else a solution btw how can i include it with an override...what is the correct php function to show it in the order confirmation email?

mosdata


thomaska

I have the same problem. I need to show my Bank info on Bank Deposit Transaction. Any ideas?

K&K media production

If you want custom text in your confirmation Email for the used payment method, you can use this at the end of invoice_items for example:


<?php
  $paymentmethod_id $this->orderDetails['details']['BT']->virtuemart_paymentmethod_id;
  if ( $paymentmethod_id == '1' ) { 
        
echo JText::_('COM_VIRTUEMART_MAIL_PAYMENT_VK'); 
    
  } 
  elseif ( $paymentmethod_id == '2' ) { 
        
echo JText::_('COM_VIRTUEMART_MAIL_PAYMENT_NN'); 
    
  } 
  elseif ( $paymentmethod_id == '3' ) { 
        
echo JText::_('COM_VIRTUEMART_MAIL_PAYMENT_PP'); 
    
  } 
?>



You need to create language overrides for the language keys with your bank info.