Jump to content

Email template editor removing property and adding characters to link


Recommended Posts

Am using v1.6.0.14 to edit email templates (previously edited without any problem in 1.6.0.9).

 

In the Translation > Email Template Translation, following code:

 

title="{shop_name}" href="{shop_url}"> <img src="{shop_logo}" alt="{shop_name}"

 

Changes to:

 

title="{shop_name}" href="%7Bshop_url%7D"> <img src="%7Bshop_logo%7D" alt="{shop_name}"

 

And:

 

<td class="box" style="border: 1px solid #D6D4D4; background-color: #f8f8f8; padding: 7px 0; border-radius: 6px;">

 

Changes to:

 

<td class="box" style="border: 1px solid #D6D4D4; background-color: #f8f8f8; padding: 7px 0;">

 

Curly brackets are kept for shop name, but no shop url or img src, and border-radius is removed.

 

While I can edit in a text editor or Dreamweaver, it's very convenient to use Prestashop. Is this a known bug, or something local? Have tried two browsers with same result.

Link to comment
Share on other sites

  • 3 months later...

Hi, I have the same problem, did you solved it ?, How?

I have in my original template this style:
 

style="-moz-border-radius: 40px;border-radius: 40px;border: #F69565 1px solid;display: inline-block;background-color: #F69565;">

And then when the email has been sent I get:
 

style="border:#f69565 1px solid;background-color:#f69565"

It just remove the border-radius and display

Link to comment
Share on other sites

I edited all of the templates using a text editor. Make sure you keep backups because each time any module that uses email templates is updated, your edits will be overwritten! Really bad implementation, IMV, considering the templates haven't been updated since 1.6.0.9, our first move to Prestashop, but keep being overwritten.

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...