Warning: You are browsing the documentation for PrestaShop 1.7, which is outdated.
You might want to look at the current version, PrestaShop 8. Read the updated version of the documentation
When you write a theme, you may need to extend PrestaShop features. You can do that by adding modules that will be tied to your theme and shipped with it.
Theme-specific modules should be placed in your theme’s
. └── dependencies │ └── modules │ └── mymodule ...
You can declare the module in your theme’s theme.yml file:
dependencies: modules: - mymodule global_settings: modules: to_enable: - mymodule
This will make PrestaShop:
/modulesfolder when installing the theme