Author Topic: Edit Order Confirmation Email  (Read 13573 times)

fly-line

  • Beginner
  • *
  • Posts: 10
Edit Order Confirmation Email
« on: March 15, 2009, 22:14:23 PM »
Hi

How do I edit the confirmation email sent to clients that have ordered something from the site?

Now I have the standard text but I want to costomize it!

Anyone?

pia

  • Beginner
  • *
  • Posts: 24
Re: Edit Order Confirmation Email
« Reply #1 on: March 15, 2009, 23:50:47 PM »
Hi

You can edit the email templates in:  /com_virtuemart/themes/default/templates/order_emails/
specifically the confirmation_email.tpl.php file in your case.

You can then edit the text in the /administrator/components/com_virtuemart/languages/ directory

Hope that's of some help :)


Christoffer Geijer

  • Beginner
  • *
  • Posts: 32
Re: Edit Order Confirmation Email
« Reply #2 on: April 16, 2009, 14:59:08 PM »
Saw this thread and want to add a question:

How do I add a closing text like "Thank you for your order. You will receive a final confirmation with delivery details as soon as it has been processed." to the confirmation email. What file do I edit?

DRACULINOS

  • Contributing Developer
  • Jr. Member
  • *
  • Posts: 206
  • Theo
Re: Edit Order Confirmation Email
« Reply #3 on: April 17, 2009, 00:21:54 AM »
How about the same file ?  :D

fionab111

  • Beginner
  • *
  • Posts: 10
Re: Edit Order Confirmation Email
« Reply #4 on: April 20, 2009, 10:52:52 AM »
Hi,  :)

I wanted to do the same thing - to add bank account details for bank transfer orders. 

But I don't really understand what to do.  I've worked out how to open this file (confirmation_email.tpl.php) in cpanel but where do put the text in the code.  I've looked at the code and I can't even see the text that is already there.  Do I do this in code editor?  If not, where and how do I do it cos I'm new to 'code' and don't really know. :-\

I'd really appreciate some help with this!!

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28746
  • Always on vacation
    • Jenkin Hill Internet
Re: Edit Order Confirmation Email
« Reply #5 on: April 21, 2009, 00:30:32 AM »
Do not use cPanel on the servert to edit the file. If you don't know what you are doing you could break the file. Download it by ftp and keep a copy safe as backup.
Here is one edit you can try. Open the original on your PC in a good editor such as NoteTab Lite and locate this code towards the end of the template.
Code: [Select]
  <tr>
    <td><?php echo $payment_info_details ?></td>
    <td><?php echo $shipping_info_details ?></td>
  </tr>
</table>

and then add another row in the table and enter some text. For example:
Code: [Select]
<tr>
    <td><?php echo $payment_info_details ?></td>
    <td><?php echo $shipping_info_details ?></td>
  </tr>
<tr><td colspan="2">
<p> this is some new text.</p>
</td></tr>
</table>

Save the file, upload to the server & test. I'm not sure if that is the right place to edit, but that is the sort of thing you need to do. This is not "new code" but XHTML which has been around for years.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 4.2.5 10924 J! 3.10.11 PHP 8.2.7

flicman

  • Beginner
  • *
  • Posts: 46
Re: Edit Order Confirmation Email
« Reply #6 on: May 14, 2009, 18:48:21 PM »
This is so close to what I'm looking for - do you know where the variable $payment_info_details is created?

I just want to add the card type (or change the card number from the last 4 to the first 4) to the confirmation and purchase order emails.

vjtemplates

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 262
    • VJ Templates
Re: Edit Order Confirmation Email
« Reply #7 on: May 14, 2009, 19:06:12 PM »
ps_checkout.php
VirtueMart Templates

http://www.vjtemplates.com

Fintan

  • Jr. Member
  • **
  • Posts: 128
Re: Edit Order Confirmation Email
« Reply #8 on: September 24, 2010, 11:04:31 AM »
I am having a similar prblem.

my confirmation mails come in english.

I need them in german though.

Everything else is in german.