Example module to add a Mail theme to PrestaShop.
This module requires PrestaShop 9.0.0 to work correctly.
- Copy the example_module_mailtheme directory into PrestaShop's modules directory.
- composer install in the module's directory. ([...]/modules/example_module_mailtheme)
- bin/console prestashop:module install example_module_mailtheme in PrestaShop's directory.
- Copy the example_module_mailtheme directory into PrestaShop's modules directory.
- composer install in the module's directory. ([...]/modules/example_module_mailtheme)
- bin/console prestashop:module install example_module_mailtheme in PrestaShop's directory.
- Once the module is installed you can go to Design > Email theme there is a new dark_modern theme available.
- You can look at the dark_modern themes layout and see they look like the modern theme but with customized colors.
- You can look at the order_conf layout and see that an additional block has been added at the bottom Thank you for purchasing this product ... on BOTH modern and dark_modern themes
- You can see that all three themes have a customized_template layout with a customized message with the color red (applied via a custom transformation).
- You can also go to Modules Manager and configure the module custom colors and text
- Go back in the layout preview and check that the dark_modern template colors are adapted