Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

El uso de un tema hijo puede ser un poco técnico. Para ver con detalle cómo puede utilizar un tema hijo, consulte la documentación destinada a desarrolladores: http://developers.prestashop.com/themes/smarty/parent-child-feature.html

Crear un tema hijo

First, you need to have the theme you want to use as a parent in your store /themes folder.

Then you can create a new folder with a very minimal theme, containing only the following files, which you can copy directly from the Parent theme:

Image Removed

Once you have this, you will specify in your child theme theme.yml which theme should be used as a parent (in the example below, we chose PrestaShop's default theme, Classic). The value must be the theme technical name (ie: the theme folder name).

Add the following information the theme.yml file:

Image Removed

You can now use this theme in your back office and edit it as you wish.

...

En primer lugar, necesita tener el tema que desea utilizar como padre en la carpeta /themes de su tienda.

A continuación, puede crear una nueva carpeta con un tema minimalista, que contenga sólo los siguientes archivos, que puede copiar directamente desde el tema padre:

Image Added

Una vez que tenga esto, especifique en el archivo de su tema hijo theme.yml qué tema debe ser utilizado como padre (en el siguiente ejemplo, elegimos el tema predeterminado de PrestaShop, Classic). El valor debe ser el nombre técnico del tema (es decir: el nombre de la carpeta del tema).

Añada la siguiente información al archivo theme.yml:

Image Added

Ahora puede utilizar este tema en su back office y editarlo como desee.


Info

¿Está creando temas tan buenos que otros comerciantes podrían pagar dinero por ello?. Puede venderlos en Addons, el mercado oficial de temas y módulos de PrestaShop: http://addons.prestashop.com/.

...