PrestaShop Developer Conference
PrestaShop Developer Conference
Hybrid format! Paris, France & Online - November 19, 2025
Let's talk code, commerce and open source.

Warning: You are browsing the documentation for PrestaShop 1.7, which is outdated.

You might want to read an updated version of this page for the current version, PrestaShop 9. Read the updated version of this page

Learn how to update to the latest version.

prestashop:mail:generate

Informations

  • 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)

Description

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