How can I create a child theme in Prestashop

image.png

First of all, you need to have an installed theme on your store(root/themes folder) that will be used as a parent for your child theme. Create a new folder in /themes folder( For example: childtheme) copy below files from parent theme folder to child theme folder

 ├── config  │   └── theme.yml  └── preview.png 

open theme.yml file of child theme and specify which theme should be used as a parent.

parent: classic name: childtheme display_name: My first child Theme version: 1.0.0 assets:   use_parent_assets: true 

Now go to back office where you can see a new child theme will appear and you are all set.

Impactos: 0

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *