prestashop

Guide PrestaShop module development with hooks, controllers, and Symfony integration.

1|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/biggora/e-commerce-plugin-skills --skill prestashop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prestashop
Source: https://github.com/biggora/e-commerce-plugin-skills/tree/main/skills/prestashop
Command: npx skills add https://github.com/biggora/e-commerce-plugin-skills --skill prestashop

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes uncertainty from building PrestaShop modules by giving you a practical, end-to-end blueprint for architecture, lifecycle, hooks, admin UI, Symfony integration, and webservices extensions.

Core Features & Use Cases

  • Module architecture & lifecycle: Learn the expected directory structure, main module class metadata, config.xml, installation/uninstallation responsibilities, and upgrade-safe patterns.
  • Hook-based integrations: Register and implement display/action hooks correctly, including payment (paymentOptions) and common storefront/back-office extension points.
  • Back-office development (legacy + Symfony): Build admin pages using ModuleAdminController/HelperForm and modern Symfony controllers/Twig with routes and services.
  • Marketplace readiness: Prepare modules for PrestaShop Addons submission with common validation and documentation requirements.
  • Webservices API extension: Expose custom resources through addWebserviceResources and implement required ObjectModel/webservice configuration patterns.

Quick Start

Ask for a PrestaShop module scaffold named MyModule that registers displayHome and paymentOptions hooks, includes an admin configuration page, and is ready for PrestaShop Addons submission guidance.

Frequently Asked Questions about prestashop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a PrestaShop module for PrestaShop 8.x Symfony controllers and Twig routes?

To structure a PrestaShop module for 8.x, use the expected directory structure and main class metadata, implementing modern Symfony controllers, Twig routes, and services. This ensures upgrade-safe patterns while supporting both storefront and back-office extensions.

How do I register and implement PrestaShop hooks like displayHome and paymentOptions correctly?

Registering PrestaShop hooks requires correct hook callback naming and registration within your module. You implement display and action hooks, including paymentOptions, by adhering to safe configuration management and standard PrestaShop conventions.

Does this guide building legacy PrestaShop admin pages using ModuleAdminController and Smarty?

Yes, it supports building legacy back-office admin pages using ModuleAdminController and HelperForm. It also covers modern Symfony controllers and Twig routes, providing practical patterns for both legacy and PrestaShop 8.x environments.

How do I expose a custom API resource through the PrestaShop Webservices API?

To expose a custom API resource through the PrestaShop Webservices API, implement the addWebserviceResources method. This requires configuring your ObjectModel and webservice settings to properly expose custom data endpoints.

What do I need to prepare for PrestaShop Addons marketplace submission and validation?

Preparing for PrestaShop Addons marketplace submission requires adherence to specific validation and documentation expectations. This includes correct module structure, safe configuration management, and following standard PrestaShop conventions for approval.

What is the correct way to manage module lifecycle and configuration during PrestaShop module installation?

Correct PrestaShop module lifecycle management involves handling installation and uninstallation responsibilities, utilizing config.xml, and following upgrade-safe patterns. This ensures safe configuration management throughout the module's lifecycle.