Jump to content

No Subject was found for order_changed in the database.


Abdillokra

Recommended Posts

Hi everyone,

 

I want to edit source code of the template "order-Changed" from mailalerts email templates (Back-Office>Locatlization>Translations>Emails templates translations/yourtheme/your language>Modules Emails>mailalerts>order_changed)

 

PS 1.6.1.10.

 

 

When I try to open the source code it shows :

 

No Subject was found for order_changed in the database.

 

post-1423285-0-62653500-1504466967_thumb.png

 

 

I looked at this post : https://www.prestashop.com/forums/topic/283562-no-subject-was-found-for-new-order-in-the-database/?p=1894031

 

It gives the following code for the new-order template  :

 

$_LANGMAIL['New order : #%d - %s'] = 'Nouvelle commande : #%d - %s';

 

...to paste in : /themes/yourtheme/mails/lang/yourlang.php

 

 

My question is : what extra  piece of code (completing the $_LANGMAIL[...) do I need to do the same as above (paste in

 

/themes/yourtheme/mails/lang/yourlang.php) for the order_changed template to show in source code

 

Office>Locatlization>Translations>Emails templates translations/yourtheme/your language>Modules

 

Emails>mailalerts>order_changed) ?

 

Additionally : I have other email templates missing with the same message No Subject was found for <other template> in the database.

They too are absent form the /themes/yourtheme/mails/lang/yourlang.php file.

 

Is there an easy way to find the needed codes for all missing templates ?

 

 

Thanks for any help provided.

Edited by Abdillokra (see edit history)
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...