Jump to content

Email templates 1.5.4.1


Recommended Posts

HI,

 

When trying to edit email templates from the back office in 1.5.4.1 I am presented with an error on save:

 

Cannot write language file for email subjects. Path is: /var/www/vhosts/MYDOMAIN.com/httpdocs/shop/themes/default/mails/en/lang.php

 

Firstly I don't have any other languages enabled.

Secondly it is trying to save to the default theme rather than the theme I am using.

Thirdly I didn't know the mails should be in an over-ride directory (this makes sense, but there is no mail directory in the default theme - or should there be??).

 

I can edit the files directly (located in SHOPDIR/en/mails) and this works. Any clues as to how to solve this properly or is this down to the next release?

 

Thank you

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

  • 3 weeks later...

Hi kmorgen,

 

I just directly edited the templates in SHOPDIRECTORY/mails/en

 

If you are using another language you may have to make the same changes in the other language directories (replace en with fr etc). I think this is a bug in version 1.5.4.1, so may be fixed in the next release??

 

With the exception of the smarty tags (in curly brackets {}) its just HTML, so very easy to make changes. Just make sure you make a backup copy as the changes may be over-written with the next upgrade.

 

The HTML email templates have the .html extension and the plain text email have the .txt extension. The filenames are fairly self explanatory.

Link to comment
Share on other sites

×
×
  • Create New...