
Override the install and uninstall methods in a Prestashop module, call the parent install, register gdpr consent hooks, and manage database table creation and removal to ensure installation succeeds.
Explore Prestashop hooks, including display and action hooks, and learn how modules subscribe to, register, and render content in templates and front-end assets.
Create a front controller for a Prestashop module by following directory structure and class naming rules, extend the module front controller, and plan rendering templates and link generation.
Register a hook route to create custom front controller links, return a multidimensional parameter array for controllers and rules, and verify the new URL renders your module content.
Override the admin module controller's render method to build a forum edit page using a fields form array, defining id and title fields with mapping, and a submit action.
Explore how to render data on the view page in a Prestashop module by creating admin templates with Smarty, using the create template method, and passing variables for dynamic content.
Fetch data with the DB Query helper by selecting fields from a table, applying an id-based where clause, executing the query, and rendering results in an admin module view.
Learn what an entity is in Doctrine ORM for Symfony, mapping a PHP object to a table with annotations and a primary key, and how to create and persist data.
Implement flash messages in a Symfony controller using addFlash to show success or error feedback after form submissions, render them in templates, and customize styling for custom types.
Explore the basics of a payment module for a Prestashop shop, learn what makes a module valid, and build a real-life example to wrap up the chapter.
Develop and install a custom offline payment module for Prestashop by creating the module structure, defining hooks payment options and payment return, and implementing a checkout form and admin configuration.
Learn to send a custom order confirmation email during order validation with the mail class, using the customer email as receiver and concatenating first and last names for the sender.
Welcome to the Advanced Prestashop module developer guide course!
In this course you will learn all what you need to start coding modules for Prestashop 1.7.
Modules can play a major role in creating a successful business hence the importance of learning to code them.
The main focus point is to deliver a simple and straight to the point information.
We will walk through 5 hours of content as follow:
First section: The fundamentals of Prestashop development
Starting by Prestashop architecture, coding standards
Second section: modules
We will create a basic module and learn about various topic such as the various module methods and the use of each, the hooking system, creating an admin configuration page with template and with helpers.
We will also explore the widget API and understand the main two methods
Third section : controllers
We will learn about the module controllers and the various types of them such as admin and front controllers also we will dive in the modern controllers with a solid example including CRUD operations.
Learn how to use Symfony bundle inside Prestashop, how to setup routing, create action and define forms and entities
Final part : Payment modules
In this section we will focus on a specific type of modules known as 'Payment module', I'll be explaining the anatomy of a payment module, the various types and end up by creating a fully functional payment option ( module ).
Who this course is for:
PHP developers with basic knowledge who want to develop complex modules form Prestashop 1.7
Prestashop Backend developer
Web agencies