add to the subject of the admin email the ID of the order

turha71

No avatar

2007-02-15 00:11

Hi everyone,

I need to add the ID of the order into the subject of the email that is send to the admin?

something like this: new order (123)

How to do that?

Thanks

» Quick.Cart v1.x

treewood (OpenSolution)

Avatar: treewood

2007-02-15 08:19

turha71 - edit core/orders.php and find function: saveOrder, after change this:
@mail( $GLOBALS['config']['email'], $GLOBALS['lang']['mail_title'], $GLOBALS['lang']['mail_txt'], 'FROM: '.$GLOBALS['config']['email'] );

to:
@mail( $GLOBALS['config']['email'], 'New order ('.$aForm['iOrder'].')', $GLOBALS['lang']['mail_txt'], 'FROM: '.$GLOBALS['config']['email'] );

turha71

No avatar

2007-02-15 17:21

Thanks treewood... it's working fine.

Back to top
about us | contact