Jump to content

Mail New_order and PaymentModule.php


simberak

Recommended Posts

Hi all,

 

I am trying to change the id refs in mail New_order to normal number (order id). I found here on the forum, that I need to change {order_name} in PaymentModule.php in /classes from

 '{order_name}' => $order->getUniqReference(),

to

 '{order_name}' => sprintf('#%06d', (int)$order->id),

but it still doesnt work :( I am deseprate from it. I even tried $order->id only and other tips I found, but it looks like if I make whatever change in that {order_name} in PaymentModule.php, it still shows that damn GFXFHHHJGV in incoming mail instead of number like 11441.

 

Can anybody pls help with that? Am I doing somethink wrong?

 

Thank you very much...

Link to comment
Share on other sites

Thank you, I tried that and still nothing... It really looks like that PaymentModule.php isnt that right file to update, because id do absolutely NOTHING.

I found that mail new_order is in mailalert module, so shouldnt I change something in that module instead od classes/PaymentModule.php?

Oh and I have PS 1.6.1.4

Thank you

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...