We have the problem that paypal order confirmation emails are not being send. We are running Zen Cart 1.3.8a and use a language other than enlish.
Furthermore html emails are not generated.
The problem is: in includes/functions/functions_email.php around line 392, the function is looking for a html message template in emails/<LANGUAGE_CODE>/. When it cannot find it, it uses the messageStack to issue a warning.
With paypal IPN however, the message stack is not loaded, so this generates a php error and the message is never send.
However, it is not clear to me why the code shouldn't fall back to the english (default) templates. As far as I see the templates don't really contain any language-specific things. All the messages are translated anyway.
Of course the simple solution is to just copy all templates to a <LANGUAGE_CODE> directory, but that's not really elegant.
The fix to the paypal problem is already proposed here: http://www.zen-cart.com/forum/showth...t=84507&page=2
Bookmarks