> For the complete documentation index, see [llms.txt](https://docs.prestashop-project.org/1-5-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.prestashop-project.org/1-5-documentation/english-documentation/developer-guide/developer-tutorials/front-office-controllers.md).

# Front-Office Controllers

Here is the list of all current front-office controllers in PrestaShop 1.5:

| Controller Filename             | Description                                              |
| ------------------------------- | -------------------------------------------------------- |
| AddressController.php           | Used by address.php to edit a customer's address.        |
| AddressesController.php         | Used by addresses.php to get customer's addresses.       |
| AuthController.php              | Used by authentication.php for customer login.           |
| BestSalesController.php         | Used by best-sales.php to get best-sellers.              |
| CartController.php              | Used by cart.php to manage the customer's cart.          |
| CategoryController.php          | Used by category.php to get product categories.          |
| CMSController.php               | Used by cms.php to get a CMS page.                       |
| CompareController.php           | Used by products-comparison.php to compare products.     |
| ContactController.php           | Used by contact-form.php to send messages.               |
| DiscountController.php          | Used by discount.php to get a customer's vouchers.       |
| GuestTrackingController.php     | Used by guest-tracking.php to manage guest orders.       |
| HistoryController.php           | Used by history.php to get a customer's orders.          |
| IdentityController.php          | Used by identity.php for customer's personal info.       |
| IndexController.php             | Used by index.php to display the homepage.               |
| ManufacturerController.php      | Used by manufacturer.php to get manufacturers.           |
| MyAccountController.php         | Used by my-account.php to manage customer account.       |
| NewProductsController.php       | Used by new-products.php to get new products.            |
| OrderConfirmationController.php | Used by order-confirmation.php for order confirmation.   |
| OrderController.php             | Used by order.php to manage the five-step checkout.      |
| OrderDetailController.php       | Used by order-detail.php to get a customer order.        |
| OrderFollowController.php       | Used by order-follow\.php to get a customer's returns.   |
| OrderOpcController.php          | Used by order-opc.php to manage one-page checkout.       |
| OrderReturnController.php       | Used by order-return.php to get a merchandise return.    |
| OrderSlipController.php         | Used by order-slip.php to get a customer's credit slips. |
| PageNotFoundController.php      | Used by 404.php to manage the "Page not found" page.     |
| ParentOrderController.php       | Manages shared order code.                               |
| PasswordController.php          | Used by password.php to reset a lost password.           |
| PricesDropController.php        | Used by prices-drop.php to get discounted products.      |
| ProductController.php           | Used by product.php to get a product.                    |
| SearchController.php            | Used by search.php to get search results.                |
| SitemapController.php           | Used by sitemap.php to get the sitemap.                  |
| StoresController.php            | Used by stores.php to get store information.             |
| StoresController.php            | Used by supplier.php to get suppliers.                   |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.prestashop-project.org/1-5-documentation/english-documentation/developer-guide/developer-tutorials/front-office-controllers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
