When deciding and choosing a template it is important to determine the objective of the website. Most websites require the ability to easily be managed, search engine friendly, easily designed, impressive looking, and meet the personality of the company the website is trying to represent. Some of the advantages of having a prestashop template is the flexibility and customization. The code is also very clean. This allows for additional code to be entered to alter the website look and design. The templates are lightweight. Being lightweight allows the website to be fast and easy to install. The templates are sleek and have intuitive interfaces. There are multiple free Prestashop themes to choose from. It is important when choosing a theme to remember the target audience. Prestashop allows for website hosting and custom built solutions.
We might divide a page template into a header, content, sidebar and footer where these are in separate files. The content will change most between pages, so rather than having a content file, we include the content into a page file which pulls in the individual template files and defines the unique features of that page. The unique features of a page will be the title, description and article content. We can define these at the start of the page template with say PHP code to set the value of variables that are used by the other templates such as the header template. Then we assemble the page by including the required templates and inserting the content.