Skip to content

Latest commit

History

783 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Example modules

This repository hosts example modules built and maintained by PrestaShop. These modules demonstrate usecases useful for developers willing to customize the software.

Most of these modules have been optimized and made compatible for PrestaShop v9.0.0 and above. If you want to see examples for lower versions of PrestaShop you should check the 8.x branch of this repository.

Modules list

Module nameDescriptionMinimum version
api_moduleThis example module demonstrates how to modify PrestaShop's new API.v9.0.0
dashexampleThis module demonstrates how to integrate with the migrated Symfony dashboard page through its new dedicated hooks, including charts rendered with the core-provided Chart.js.v9.2.0
demo_gridThis module demonstrates how to use Grid in PrestaShopv9.0.0
democonsolecommandExample module showing how to implement a Symfony console commandv9.0.0
democontrollertabsDemo Creating modern Controllers and associate Tabs to themv9.0.0
demodoctrineThis module demonstrates how to use Doctrine entities in PrestaShop 9.0.0 and abovev9.0.0
demoextendgridThis module demonstrates how to insert an additional row action to existing grid and how to register javascript in admin controllerv9.0.0
demoextendsymfonyform1Learn using identifiable object and grid hooks.v9.0.0
demoextendsymfonyform2This module demonstrates how to insert an "upload image" input field inside the Symfony form managing "Edit a Supplier" page and how to use DoctrineORM to manage the database state of a custom objectv9.0.0
demoextendsymfonyform3This example demonstrates the usage of CQRS pattern and hooksv9.0.0
demoextendtemplatesThis is example module explaining various extendability options of templatesv9.1.0
demofiltermodulesIn this example module, we demonstrate how to filter the list of modules executed for a given hook based on the module's name.v8.2.1
demoformdataprovidersThis module illustrates FormDataProviderData and FormDataProviderDefaultData hooksv8.0.0
demojsroutingThis module illustrates how to use Javascript Router component in a modulev9.0.0
demomoduleroutesThis module illustrates using the moduleRoutes hook in a module.v8.0.0
demomultistoreformThis module demonstrates how to make your forms multistore compatible in your module, in a CRUD context.v1.7.8
demooldproductpagehooksThis module illustrates the hooks on the old product page. Available in the 8.x branch only.v1.7.8
demooverrideobjectmodelExample module showing how to override an ObjectModel (in this case the manufacturer) and add a custom field in the database table.v9.0.0
demoproductextracontentExample module to add extra content to the product page on the front officev1.7.0
demoproductformThis is an example module explaining various extendability options in product page formv9.0.0
demoseoThis module illustrates how you can alter the SEO related data using the actionFrontControllerSetVariables hook in a module.v9.2.0
demosymfonyformThis module demonstrates how to use existing PrestaShop Symfony form types inside a new page.v9.0.0
demosymfonyformsimpleIn this module, you will learn how to utilize Symfony form types to create configuration pages for your module. This module has been created by following a guide from the developer documentation.v9.0.0
demovieworderhooksThis module was created in order to demonstrate how to use the new hooks introduced with the new "View an Order" back office page in PrestaShop v9.0.0.v9.0.0
demowsextendThis module adds a resource managed by ObjectModel to the WebService.v1.7.8
example_module_mailthemeExample module to add a Mail theme to PrestaShop.v9.0.0

About

Example PrestaShop modules

Topics

Resources

Stars

219 stars

Watchers

32 watching

Forks

Releases

Packages

Used by

Contributors

Languages