VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: viaform on March 07, 2012, 10:57:14 AM

Title: Add Payment Info into Order Confirmation Email
Post by: viaform on March 07, 2012, 10:57:14 AM
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!
Title: Re: Add Payment Info into Order Confirmation Email
Post by: K&K media production on April 15, 2012, 15:02:47 PM
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?
Title: Re: Add Payment Info into Order Confirmation Email
Post by: mosdata on April 17, 2012, 15:16:38 PM
I have the same problem! Help please.....
Title: Re: Add Payment Info into Order Confirmation Email
Post by: thomaska on October 02, 2012, 15:47:21 PM
I have the same problem. I need to show my Bank info on Bank Deposit Transaction. Any ideas?
Title: Re: Add Payment Info into Order Confirmation Email
Post by: K&K media production on October 06, 2012, 20:30:47 PM
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.