Hi
I need a small mod - I need the order number added to the end of the subject line in 'order status' emails.
Offer: $100.00 AUD.
Small Mod needed: Order number added to Subject line..
Re: Small Mod needed: Order number added to Subject line..
If your still needing, try this:
open /lib/orders.php
find:
$obj_email->Set("Subject", sprintf(GetLang('YourOrderFrom'), $store_name));
Replace with:
$obj_email->Set("Subject", sprintf(GetLang('YourOrderFrom'), $store_name)." (#".$order_row['orderid'].")"); // MOD ## Order No in email subject
To also add the order number and store name to the status change email.
find:
$obj_email->Set('Subject', $subject);
Replace with:
$obj_email->Set("Subject", sprintf(GetLang('YourOrderFrom'), $store_name)." (#".$order['orderid'].") ".$subject); // MOD ## Order No in status email subject
open /language/en/common.ini
Find:
OrderStatusChangedSubject = "Your Order Has Been Updated"
Replace with:
OrderStatusChangedSubject = "Has Been Updated"
I haven't checked this for a while, it's from my notes. I'm using 6.1.8. Hope it helps...
open /lib/orders.php
find:
$obj_email->Set("Subject", sprintf(GetLang('YourOrderFrom'), $store_name));
Replace with:
$obj_email->Set("Subject", sprintf(GetLang('YourOrderFrom'), $store_name)." (#".$order_row['orderid'].")"); // MOD ## Order No in email subject
To also add the order number and store name to the status change email.
find:
$obj_email->Set('Subject', $subject);
Replace with:
$obj_email->Set("Subject", sprintf(GetLang('YourOrderFrom'), $store_name)." (#".$order['orderid'].") ".$subject); // MOD ## Order No in status email subject
open /language/en/common.ini
Find:
OrderStatusChangedSubject = "Your Order Has Been Updated"
Replace with:
OrderStatusChangedSubject = "Has Been Updated"
I haven't checked this for a while, it's from my notes. I'm using 6.1.8. Hope it helps...
Re: Small Mod needed: Order number added to Subject line..
Hi Bart
Just stumbled across this..
Unfortunately I cant even remember what client it was for now! Thanks for posting thou - Hopefully someone gets some use out of it.
Just stumbled across this..
Unfortunately I cant even remember what client it was for now! Thanks for posting thou - Hopefully someone gets some use out of it.