Forums / General Questions / Order status change - emails showing contants like EMAIL_TEXT_SUBJECT

Order status change - emails showing contants like EMAIL_TEXT_SUBJECT

Locked

Views: 1,237

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
30 Oct 2008, 1:25 PM
#1
rgerards avatar

rgerards

New Zenner

Join Date:
Oct 2008
Posts:
10
Plugin Contributions:
0

Order status change - emails showing contants like EMAIL_TEXT_SUBJECT

Hi,

I created a few new status's:

  1. Order received
  2. Order confirmed awaiting payment
  3. Payment received, Order will be send within 48 hours
  4. Order send

Status 1 gives the default (html) mail. But the other mails gives a mail like:

EMAIL_TEXT_SUBJECT
Spellendump
EMAIL_SEPARATOR
EMAIL_TEXT_ORDER_NUMBER 11
EMAIL_TEXT_INVOICE_URL http://testurl/index.php?main_page=account_history_info&order_id=11
EMAIL_TEXT_DATE_ORDERED vrijdag 17 oktober, 2008

EMAIL_TEXT_COMMENTS_UPDATE

EMAIL_TEXT_STATUS_UPDATE

Where can I "link" a template to the status ? Or am I thinking wrong and need to go another way ?

Remco Gerards

31 Oct 2008, 1:02 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Order status change - emails showing contants like EMAIL_TEXT_SUBJECT

I have no idea why it would treat one status in a certain way but treat others a different way, unless you're using some sort of addon that changes the normal operation.

When you see CONSTANTS_IN_UPPERCASE_LIKE_THIS it usually means the system is looking for definitions of those values but hasn't found them in the currently-selected language's files. Perhaps your language pack is missing something?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

31 Oct 2008, 7:11 AM
#3
rgerards avatar

rgerards

New Zenner

Join Date:
Oct 2008
Posts:
10
Plugin Contributions:
0

Re: Order status change - emails showing contants like EMAIL_TEXT_SUBJECT

I checked the orders.php in my language pack folder, and it contains all the constants, so apparantly something else is wrong ?

31 Oct 2008, 9:03 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Order status change - emails showing contants like EMAIL_TEXT_SUBJECT

If you're convinced that the constants are all properly defined and that the language files are loading properly and that there's no reason for that to be the problem, then I suppose something else might be wrong ... maybe you've got file-permissions problems or incomplete uploads or something like that?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.