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

Exporting your theme

Creating a valid ZIP file

A theme is installed as soon as it is on the disk.

If you want the theme to appears in the backoffice, it only needs to contain a config/theme.yml file. This will only display it, if you want to select it as your active theme, it has to be valid. Read “What makes a valid theme”.

Export current theme

Once it is active you can export your theme using the “Export current theme” button or use the command from your terminal.

php bin/console prestashop:theme:export THEME_DIRECTORY_NAME

What is exported

Exporting your theme using the button or the command line will export the following data:

  • All theme files in directory
  • Dependencies specified in theme.yml (See theme.yml doc)
  • Theme translations