Small Mod needed: Order number added to Subject line..

For all things BigCommerce.. Chat, sharing ideas, links to tips and ways to make things work.
Post Reply
myshop
Posts: 51
Joined: Tue Jun 23, 2009 5:48 am
Location: NSW Australia
Contact:

Small Mod needed: Order number added to Subject line..

Post by myshop »

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.
bart
Posts: 57
Joined: Wed Sep 08, 2010 5:40 pm
Location: UK

Re: Small Mod needed: Order number added to Subject line..

Post by bart »

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...
myshop
Posts: 51
Joined: Tue Jun 23, 2009 5:48 am
Location: NSW Australia
Contact:

Re: Small Mod needed: Order number added to Subject line..

Post by myshop »

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.
Post Reply