PrestaShop uses the Smarty template engine to generate its views: http://www.smarty.net/
The views are stored in .tpl
files, and are used throughout PrestaShop:
/themes/
folder. /themes/default-bootstrap/product.tpl
/admin-dev/themes/
folder./admin-dev/themes/default/template/controllers/products/information.tpl
Modules can add their own templates to adapt parts of the interface:
/modules/bankwire/views/templates/front/payment_execution.tpl
/modules/blocklayered/views/templates/admin
A view name is generally the same as the name for the code using it. For instance, 404.php
uses 404.tpl
.
As there is no inheritance, there is no way to override a view. In order to change a view, you must rewrite the template file, and place it in your theme's folder. |