Hi there,
Thanks a lot DrByte for helping.
In the same moment i was trying to change my comunication emails from plain text to html.
So i arrived to this spanish forum http://zencartes.com/topic.php?id=1071
At the end of the page , user REALXP ( credits to him ) mention a strange bug that - once i Changed it- solved everything ( the html email and the pp order problems)
it seems that is a problem with version 1.3.8 a and non english shops
u have to go to : /includes/functions/functions_email.php.
Line #393.
Default code:
$langfolder = (strtolower($_SESSION['languages_code']) == 'en') ? '' : strtolower($_SESSION['languages_code']) . '/';
There you have to add more lenguages ( in this case , es ) so appear like this
$langfolder = (strtolower($_SESSION['languages_code']) == 'en' or 'es') ? '' : strtolower($_SESSION['languages_code']) . '/';
I did that and get the two things solved
1-email notifications ( welcome, checkout, default , etc ) changed to html
2- PayPal customers receive the NEW ORDER email ( in html )
hope this helps other non english speaking users of zc
thanks a lot dr byte for your help.
just for google to index it, i will paste the solution in spanish because this problem affects mainly non english speaker users
(if moderator think this is inappropriate, please delete this part of the post )
Pues arreglado, ahora ya se envían los mails en HTML cuando tienes la tienda en español.
Solo pasa en la versión 1.3.8 a
Hay que ir a: /includes/functions/functions_email.php.
Linea #393.
Codigo por defecto:
$langfolder = (strtolower($_SESSION['languages_code']) == 'en') ? '' : strtolower($_SESSION['languages_code']) . '/';
Y añadir or 'es' después de 'en' de tal manera que queda asi 'en' or 'es'
Tal que asi.
$langfolder = (strtolower($_SESSION['languages_code']) == 'en' or 'es') ? '' : strtolower($_SESSION['languages_code']) . '/';
Con esto, ya saldrán vuestros emails en HTML.
ORIGINAL LINK: REALXP IN ZEN CART SPANISH USER FORUM
http://zencartes.com/topic.php?id=1071
:clap::clap::clap::clap: