Zen Cart Logo
Forums / General Questions / Can't remove store name from TY Package Tracker Email

Can't remove store name from TY Package Tracker Email

Locked

Views: 1,985

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
6 Jun 2008, 1:45 PM
#1
vera avatar

vera

New Zenner

Join Date:
Dec 2005
Location:
Wylie, Texas
Posts:
77
Plugin Contributions:
0

Can't remove store name from TY Package Tracker Email

The email that ty package tracker sends out starts out with

Dear [first and last name],
[store name]

and I can't find the file that makes this email show the store name (which makes no sense showing it after "dear so and so"). Does anyone know? At least, what's the variable name for the store name?

21 Jun 2008, 10:50 PM
#2
vera avatar

vera

New Zenner

Join Date:
Dec 2005
Location:
Wylie, Texas
Posts:
77
Plugin Contributions:
0

Re: Can't remove store name from TY Package Tracker Email

Ok as I was told by colosports this uses the same email template as the "order update" emails. So, does anyone know how to remove the store name from those? Still haven't found that magic file... :(

21 Jun 2008, 11:04 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Can't remove store name from TY Package Tracker Email

Around line 100 you'll see that the message starts with the store name:```
//send emails
$message = [B]STORE_NAME[/B] . " " . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n\n" .
EMAIL_TEXT_INVOICE_URL . ' ' .

It doesn't even mention a salutation though.

Perhaps removing the STORE_NAME part from (only) that line may satisfy your needs.

I've only briefly looked at the code, but it seems that while it starts with the store name, it immediately follows it with the order number, etc ... so ... perhaps having the store name, associated with the order number, does make sense after all ... 

Anyway, hope that helps you ...
21 Jun 2008, 11:20 PM
#4
vera avatar

vera

New Zenner

Join Date:
Dec 2005
Location:
Wylie, Texas
Posts:
77
Plugin Contributions:
0

Re: Can't remove store name from TY Package Tracker Email

Thanks for such a quick reply :)

That's the first thing I tried on both orders.php and ty_package_tracker.php and it was still showing up (still does). And the fact that I don't see the code that shows the salutation makes me think there is another file that does that.

21 Jun 2008, 11:33 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Can't remove store name from TY Package Tracker Email

What's the rest of the email content?
Are you sure it's coming from Ty Package Tracker, and not from Super Orders or something?

21 Jun 2008, 11:51 PM
#6
vera avatar

vera

New Zenner

Join Date:
Dec 2005
Location:
Wylie, Texas
Posts:
77
Plugin Contributions:
0

Re: Can't remove store name from TY Package Tracker Email

The rest of the email is as it should be (except I edited some text). I'm sure it's coming from ty package tracker because when I change the text for EMAIL_TEXT_STATUS_PLEASE_REPLY in that file the email reflects those changes.

Order status updates displays the store name after salutation as well.

UPDATE:

FOUND IT!!!!! (yes, I'm that excited!)

/email/email_template_order_status.html is the one that's adding EMAIL_STORE_NAME to every order update email.

22 Jun 2008, 10:11 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Can't remove store name from TY Package Tracker Email

Oh. You didn't say that it was HTML-formatted emails that were the problem.
Glad you got it sorted out.