Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Reference number


songbird

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 4 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...