Cloning a ThemeΒΆ

Cloning allows you to create unique custom themes.

If you wish to create your own original design for your store, you don’t need to modify various files of an existing theme. Instead, you need to clone it.

Cloning is a process with a number of advantages:

  • The files of the original theme remain unaffected by your changes. You can experiment with any file without affecting your site. And if you need to start from scratch, copy the original file from the original theme to the clone
  • The files of the clone theme remain unaffected by CS-Cart changes. A new version of CS-Cart may replace a file in the original theme, but it won’t affect the clone theme and won’t erase your modifications.

Cloning is a function designed mainly for developers; thus, to clone a theme:

  • Run the following console command:

    php admin.php -p --dispatch=themes.clone --source=responsive --target=my_theme
    
  • Specify the name and the description of the cloned theme in manifest.json file.

Cloning a theme with or without a parent works differently.