Controllers correspondence table

PrestaShop's PHP files, its controllers and its template files are intricately joined.

This table should help you understand how everything works together.

Root pageController pageTemplate fileDescription
Cms.phpCmsController.phpCms.tplHandles CMS pages.
contact-form.phpContactController.phpcontact-form.tplHandles the contact form.
discount.phpDiscountController.phpdiscount.tplHandles discounts.
footer.php footer.tplHandles the footer of every page. Called by FrontControler.
get-file.phpGetFileController.php /
guest-tracking.phpGuestTrackingController.phpguest-tracking.tpl 
header.php header.tplHandles the header of every page. Called by FrontControler.
history.phpHistoryController.phphistory.tplHandles the order history.
identity.phpIdentityController.phpidentity.tpl 
images.inc.php  /
index.php  /
init.php  /
manufacturer.phpmanufacturerController.phpmanufacturer.tplHandles the list of manufacturers.
my-account.phpMy-accountController.phpmy-account.tplHandles the user account.
new-products.phpNewProductsController.phpnew-products.tplHandles the display of the latest product.
order-confirmation.phpOrderConfirmationControllerorder-confirmation.tplHandles order confirmation.
order-detail.phpOrderDetailController.phporder-detail.tplHandles order details.
order-follow.phpOrderFollowController.phporder-follow.tpl 
order-opc.phpOrderOpcController.phporder-opc.tplHandles the one-page checkout.
order-return.phpOrderReturnController.phporder-return.tpl 
order-slip.phpOrderSlipController.phporder-slip.tplHandles the credit slip
order.phpOrderController.php Handles the order.
password.phpPasswordController.phppassword.tplHandles the password retrieval.
pdf-invoice.phpPdfInvoiceController.php Handles the order invoices PDF generation.
pdf-order-return.phpPdfOrderReturnController.php Handles the product return PDF generation.
pdf-order-slip.phppdfOrderSlipController.php Handle the credit slip PDF generation.
price-drop.phpPricesDropController.phpprices-drop.tpl 
product-sort.php product-sort.tpl 
product.php   
products-comparison.php   
search.phpSearchController.phpsearch.tplHandles product search.
sitemap.phpSitemapController.php Handles the sitemap.
statistics.phpStatisticsController.php  
stores.phpStoresController.phpstores.tplHandles the store map.
supplier.phpSupplierController.phpsupplier.tplHandles the list of suppliers.