songbird Posted April 3, 2005 Posted April 3, 2005 Hello geniuses! Ok a little more help needed here please. How do I get my shop to give my customers their reference number for banking purposes, so that they can use that as a reference when transferring their money? Thanks Song
songbird Posted April 3, 2005 Author Posted April 3, 2005 Ok, I just saw that it sends an order number on the email it sends to the person, sooooooooooo I assume that would be the reference?
songbird Posted April 3, 2005 Author Posted April 3, 2005 ok let me rephrase my question....where do I edit the wording that goes out on the email? I would need guidance to the directory and file pretty please :D
Jeremy at oddly enough Posted April 3, 2005 Posted April 3, 2005 I think that the order confirmation email is cobbled together in catalog/checkout_confirmation.php , using elements defined in catalog/includes/languages/english/checkout_confirmation.php. I can't saw for sure, it's a bit unclear to me, the way it's set up. Jeremy
songbird Posted April 3, 2005 Author Posted April 3, 2005 Thanks Jeremy, I had a look at it but it does not quite look like the email that gets sent out. Thanks anyway :)
Jeremy at oddly enough Posted April 3, 2005 Posted April 3, 2005 Found it, thanks to terry K Look in /catalog/checkout_process.php for the line: // lets start with the email confirmation Jeremy
songbird Posted April 4, 2005 Author Posted April 4, 2005 Thank you Jeremy! Can you tell me how I can get the email that goes out to add the order number at the bottom where it gives the banking details for them to add as their reference when transferring? Regards Song
Jeremy at oddly enough Posted April 5, 2005 Posted April 5, 2005 Does your payment module already add the text about the bank transfer? Do you want the order number on top where it normally is, and add an extra copy down at the bottom? If these are both the case, then in the .../languages/english/modules/payment/... file that defined the text for your payment module you should be able to add a sentece at the end stating that the order number is also your bamking reference number. Then you can copy the line from the beginning of that section in order_process.php and paste it in again after the payment method code. I think this should do it, but I haven't tested it. $email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" . EMAIL_SEPARATOR . "\n"; $payment_class = $$payment; $em if (is_object($$payment)) { ail_order .= $payment_class->title . "\n\n"; if ($payment_class->email_footer) { $email_order .= $payment_class->email_footer . "\n\n". EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n"; } } Only the very last line was added, and the semicolon on the line above it was changed to a period. Jeremy
Recommended Posts
Archived
This topic is now archived and is closed to further replies.