...
The views are stored in .tpl
files, and are used throughout PrestaShop:
- Front - office view: the files belong to the enabled theme, which is located in the
/themes/
folder.
For instance, with the default theme:/themes/default-bootstrap/product.tpl
- Back - office view: the files belong to the enabled theme, which is located in the
/admin-dev/themes/
folder.
For instance, the the default back - office theme:/admin-dev/themes/default/template/controllers/products/information.tpl
...
Modules can add their own templates to adapt parts of the interface:
- the front - office:
/modules/bankwire/views/templates/front/payment_execution.tpl
- the back - office:
/modules/blocklayered/views/templates/admin/view.tpl
...
For views tied to a Helper, you can use the PrestaShop /override/
folder.
For instance, if you want to change the way the front - office order template file: /admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl
...you must copy the template file and its path to the override folder: /override/controllers/admin/templates/orders/helpers/view/view.tpl
...then edit the copied template file to better suit your needs.
...