Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page



  • Path: src/PrestaShopBundle/Command/GenerateMailTemplatesCommand.php
  • Arguments:
    • theme: Theme to use for mail templates
    • locale: Locale to use for the templates
    • coreOutputFolder: Output folder to export core templates ((optional))
    • modulesOutputFolder: Output folder to export modules templates (by default same as core) ((optional))
  • Options:
    • --overwrite, -o: Overwrite existing templates (false, by default)


This command aims to generate mail templates for a specified theme.