This section covers how PrestaShop uses Smarty templates to render front-office pages, from directory structure and layouts to inheritance, listing pages, and the notification system.
PrestaShop uses the Smarty 4 template engine. Templates define page content; layouts define page structure.
| Page | Description |
|---|---|
| Templates and layouts | Directory structure, templates vs layouts, layout examples, template resolution |
| Template inheritance | {extends}, {block}, building on parent templates |
| Listing pages | Shared product list template, $listing variable, AJAX updates |
| Head | Asset loading partials, SEO meta tags |
| Notifications | Notification types, customization, pushing from PHP |