We offer professional Design/Code Customisation and Website Optimisation Service Request Customisation
  • Status: Closed
  • Closed by: Marek (marek)
  • Closed on: 04.05.18, 23:33
  • Reason: Closed
  • Comment: Glad to help!

Ticket #11893 - Email Control settings not saved


After changing the settings for Email Control module and saving the form the values are not saved to database.

After revising the pk_emailcontrol module code I’ve seen that the SQL update is trying to update the table pk_emailcontrol with the language code of the backoffice.

The database table thought has another language code in it, maybe the language code used in the back office during installation.

Does Email Control module fill the email templates depending on the language? If affirmative the settings are not saved for all languages.

As I see it the module should be able to manage a multi language store.

Thank you,

This ticket does not depend on any other tickets.

Marek (marek) 21 Mar 2018, 12:06

Hi, Alex.
The module doesn't fill email templates. It saves your settings in database and then prestashop take it to send to a customer. There is no translatable information, so it has no sense in language option in the SQL queries

alex (ll_alex) 21 Mar 2018, 12:12

Ok I changed the language in the backoffice to be able to update the settings.

If language is not used maybe you should remove from CREATE table, INSERT and UPDATE the field id_lang cause it might give problems when updating the settings as I've had.

Thank you,

Marek (marek) 21 Mar 2018, 12:32

ok, I'll add it to our TODO list