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.

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

Postby myshop » Thu Jul 02, 2015 4:00 am

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

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

Postby bart » Thu Sep 03, 2015 4:08 pm

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

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

Postby myshop » Fri Nov 13, 2015 5:37 am

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


Return to [BC] Community Support

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron