Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Prestashop Knowledge Patch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nevaberry-prestashop-knowledge-patch-nevaberry-plugins)
---
name: prestashop-knowledge-patch
description: PrestaShop
version: null
license: MIT
metadata:
author: Nevaberry
---
# PrestaShop compatibility guidance
Load this skill when developing or updating PrestaShop modules, themes,
integrations, or shop operations. Use the topic references for complete
behavior, release-specific conditions, and source links.
## Reference index
| Reference | Topics |
| --- | --- |
| [Platform, Upgrades, and Security](references/platform-upgrades-security.md) | Entry points, update workflows, runtime requirements, installer packages, database prefixes, debug configuration, maintenance commands, security fixes, file handling |
| [Admin API and Extensions](references/admin-api-extensions.md) | API resources and clients, module hooks, services, entity discovery, Extra Properties, multistore Webservice access |
| [Catalog, Checkout, and Orders](references/catalog-checkout-orders.md) | Catalog editing, stock, checkout, discounts, shipments, payments, invoices, order permissions, beta checkout and assistant features |
| [Themes, Storefront, and SEO](references/themes-storefront-seo.md) | Hummingbird development, theme selection, presenters, product lookup, prices, images, URLs, redirects, search, indexing |
## Breaking changes and entry points
PrestaShop 9.0.0 adds protection against direct requests to PHP files, which
can affect integrations that call those files by URL.
In 9.1.5, direct use of `/init.php` is deprecated and subject to stricter checks.
Migrate integrations that use it as an entry point.
`ProductController::getProduct()` can return `null` in 9.1.5. Code using the
result should check that a product was found.
The legacy product editor is removed in 9.0.0. The back office renders through
Symfony and Twig, including Login, Products, Orders, Attributes, and Statuses.
## Upgrade workflows
Update Assistant replaces 1-Click Upgrade and guides staff through backup,
update, and restore. Update Assistant 7 adds a CLI for automating updates and
more detailed requirement checks, logs, and error reports.
Update Assistant 7.6.0 supports upgrades from 9.0.x to 9.1 and automatically
uninstalls modules it detects as incompatible with the target version.
Moving from the 9.1 beta or RC1 to stable requires a fresh installation.
The 9.1 back-office module upgrade flow downloads an update first and installs
it in a separate step. PrestaShop 9.1.5 is the final planned 9.1.x release.
## Security and access checks
PrestaShop 8.2.8 corrects how client IPs are read from `X-Forwarded-For` for
maintenance-mode allow-lists, audit logs, and IP-based protections. Whether or
not the shop has updated, configure its front-end reverse proxy, load balancer,
or CDN to overwrite `X-Forwarded-For` with the client address it sees.
The five fixes in 8.2.8 also apply in 9.1.5: CSV export formula protection,
CSV import image URL validation, proxy client IP handling, back-office list
filter validation, and back-office notification permissions. Notification
endpoints require employee read permission on orders, customers, or customer
service threads.
In 8.2.9 and 9.2.1, downloading a storefront customization file by reference
requires the order's secure key. Include that key when generating a download
link. Attachment downloads are limited to the shop's download directory.
In those two releases, Webservice keys can be used only in shops they are
allowed to access, and record access is limited to those shops. Employees need
order edit permission to add a product to an existing order.
In 9.2.1, disabling or deleting an API client revokes its Admin API access;
scope assignment on API clients is also restricted.
## Runtime, installation, and maintenance
PrestaShop 9.1 supports PHP 8.1 through 8.5 and lists Composer 2, Node.js 20,
and npm 10 as requirements. Core asset builds default to Node.js 20.19.5.
The 9.0.0 installer randomizes the database table prefix by default. Code
accessing shop tables must account for the configured prefix. In 9.1, the
installer can use a static prefix when deployment automation needs one.
Shops can limit debug mode to requests carrying a specific cookie in 9.0.0.
PrestaShop 9.2.1 validates that cookie's name and value before saving the debug
mode configuration.
The 9.1 console can regenerate image thumbnails, index search, and export
module translations to files. Use command help for accepted arguments and
options:
```bash
php bin/console prestashop:thumbnails:regenerate --help
php bin/console prestashop:search:index --help
php bin/console prestashop:module:export-translations --help
```
## Theme development and rendering
The optional Hummingbird theme in 9.0.0 uses Bootstrap 5, TypeScript, BEM class
names, and a new directory layout replacing `_dev`. Its SCSS uses CSS `@layer`,
separates Bootstrap styles from shop-specific styles, and exposes Bootstrap
dark mode through an SCSS variable.
Fresh 9.1 installations use Hummingbird 2.0. Modules that need the distribution's
default theme can call `Theme::getDefaultTheme()`. Theme activation can unhook
designated modules.
The 9.1.5 release package omits Hummingbird's development files. Use the theme's
development sources when rebuilding its assets. Core also provides a helper
for checking whether a theme's framework is compatible.
PrestaShop 9.2.0 updates its Composer dependency for Hummingbird to 2.1.2.
Use that version when testing storefront compatibility against the release.
Hummingbird has an official Figma file for storefront design reference.
In 9.0.0, categories, manufacturers, suppliers, and stores render through
Presenters, which standardize the data used to render those pages. The
storefront supports WebP and AVIF images natively.
In 9.1.5, storefront templates can use core-supplied price variants directly
for display. HTMLPurifier honors the configured cache directory when used
through the Twig extension.
## URLs, search, and indexing
Default product URLs omit the category segment in 9.0.0. Product breadcrumbs
follow the category through which the shopper reached the product.
Shops can omit the default language's URL prefix so adding another language
does not require redirects for the original language's URLs. Inactive
categories can use permanent (301) or temporary (302) redirects, and filtered
product listing pages are excluded from indexing in 9.0.0.
In 9.1, storefront search accepts special characters in queries, and Ajax
controllers are marked `noindex`. In 9.1.5, search indexing preserves word
boundaries when stripping HTML from indexable content.
In 9.1.5, **Schema of URLs** settings can be saved for an individual shop in
multistore. CMS page, CMS category, manufacturer, and supplier URLs omit the
meta title; product URLs omit an empty EAN-13 segment.
## Module and API extension points
The Admin API is still under development in 9.0.0. Check that the release
exposes each resource and operation an integration needs. In 9.1, the API adds
a `discountType` endpoint and support for position updates, and changes the
product-combination endpoints.
In 9.1, modules can react to module enable, disable, and upgrade events and
changes through `Configuration::updateValue()`. Use
`actionUpdateDefaultCombinationAfter` when a product's default combination is
set. The release also adds free-shipping price calculation hooks and storefront
country and currency selection extension points.
Register `actionNotFound` in a module to react when the storefront handles a
404 in 9.1.5.
The front office exposes an experimental Symfony container for accessing
services in 9.0.0. Module entity auto-mapping in 9.1 picks up entities in
multiple subdirectories under `src/Entity`. In 9.1.5, automatic cleanup also
removes `index.php` placeholders in nested module entity subdirectories.
## Checkout, shipments, and discounts
In 9.0.0, shoppers can check out as guests even if they already have a customer
account; staff can create guest customers in the back office for manual orders.
In 9.1, cart and order flows check that the selected country is enabled;
multistore storefront country lists include only countries served by active
carriers.
In 9.1, enable experimental multi-carrier shipping and redesigned discounts
under **Advanced Parameters > New & Experimental Features** for testing outside
production.
With experimental multi-carrier shipping, one order can contain shipments with
different carriers. Staff can change a shipment's carrier, merge shipments,
or split shipments that have no tracking number.
With experimental discounts, Catalog, Cart, Free Shipping, and Free Gift
discounts replace legacy cart rules. They support priorities, validity dates,
usage and eligibility limits, and automatic or promo-code application.
Conditions can be combined; Free Gift discounts exclude customizable products.
With the discount feature flag enabled in 9.1.5, the back office uses
`GET /discount-types`. The Discount V2 form offers the highlight option and
lets staff change discount status on the edit page.
In 9.1, the cart labels a discount as free shipping only when the discount
grants it; a zero reduction amount alone does not trigger the label.
In 8.2.9 and 9.2.1, concurrent checkouts of the same cart are prevented from
creating duplicate orders. Order validation claims cart-rule quantity when
it checks availability.
## Catalog and order details
In 9.1.5, stock behavior can be changed in multistore, and `reserved_quantity`
updates when **Share available quantities for sale** is enabled. Converting a
product with combinations to a standard product resets `cache_default_attribute`
for every shop. `Image::getCover()` resolves the cover within the current shop.
In 9.1, moving an order to a paid status records a payment even when invoicing
is disabled, and the back-office order summary always shows the tax total.
In 9.1.5, invoices show the payment method even when no payment is recorded.
## Beta feature guidance
The PrestaShop 9.2 beta introduces Extra Properties: native custom fields for
any entity without overrides, with multistore and multilingual data across
the back office, storefront, and Admin API.
The 9.2 beta includes `ps_onepagecheckout`, a native module putting the entire
storefront checkout on one page. The Ask AI assistant is available to test in
that beta.