Jump to content

e-mail templates saving/encoding issues


Recommended Posts

Hi all,

Please help to sort out the issue with saving e-mail templates.

Main issue: some of the '{' and '}' in templates tokens are somehow being changed to %7B and %7D, so tokens are nor replaced with the values and corresponding links are not working.

Saving issue: I've changed ALL templates in both /mail/<lang> and /themes/<my_theme>/mail/<lang> and replaced %7B and %7D with the normal signs - still same issue. I've tried to edit templates with the editor (in translation) - same issue. More to say - when I open a template just after saving it (after fixing) I can see same issue like a template was not saved at all.

And weird, why it changes only some signs?

Example:

<a style="color: #337ff1;" title="{shop_name}" href="%7Bshop_url%7D"> <img src="%7Bshop_logo%7D" alt="{shop_name}" /></a></td> 

Just realized. Looks like it changes only for href and src (only for links)

 

Prestashop version 1.6.0.11

Edited by stasinus (see edit history)
Link to comment
Share on other sites

UPDATE: Solution for this issue can be found here: https://www.prestashop.com/forums/topic/413406-email-templates-urls-broken-after-editing-and-saving-%7B-%7D/

 

I'm already looking for a solution for this,

 

there is also already a bug report for this (http://forge.prestashop.com/browse/PSCSX-4594?jql=)

keep track on the bug report if someone find its it will be released there

 

Greets,

Jaimy

Edited by Crezzur (see edit history)
  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...