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)
---
name: prestashop-knowledge-patch
description: PrestaShop
version: null
license: MIT
metadata:
author: Nevaberry
---
# PrestaShop Knowledge Patch
Load this skill for PrestaShop integration, module, theme, back-office,
checkout, deployment, upgrade, and security work. Use the topic references
for detailed behavior and release-specific attribution.
## Reference index
| Reference | Topics |
| --- | --- |
| [Compatibility, Upgrades, and Security](references/compatibility-upgrades-and-security.md) | Runtime and build requirements, installation, upgrades, maintenance commands, PHP entry points, security fixes, permissions |
| [Admin API, Back Office, and Extensions](references/admin-api-back-office-and-extensions.md) | API resources, Extra Properties, module hooks, entity discovery, product editing, stock, orders, experimental shipments and discounts |
| [Themes and Storefront](references/themes-and-storefront.md) | Hummingbird, rendering, images, prices, URLs, search, cart, checkout, country eligibility |
## Deprecations and compatibility changes
- Direct use of `/init.php` is deprecated and subject to stricter checks in
9.1.5. Migrate integrations that use it as an entry point.
- Protection against direct requests to PHP files in 9.0.0 can affect
integrations that call those files by URL.
- `ProductController::getProduct()` can return `null` in 9.1.5. Code using
the result should check that a product was found.
- The legacy product editor has been removed in 9.0.0. Back-office rendering
uses Symfony and Twig, including Login, Products, Orders, Attributes,
and Statuses.
- The installer randomizes the database table prefix by default in 9.0.0.
Code accessing shop tables must account for the configured prefix.
In 9.1.0, deployment automation can use a static prefix.
## Updates and installation
Update Assistant replaces 1-Click Upgrade and guides staff through backup,
update, and restore. Version 7 adds a CLI for update automation 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 back-office module upgrade flow in 9.1.0 downloads the update first
and installs it in a separate step.
In 9.0.0, the Classic download includes Checkout, Account, the back-office
Marketplace, CloudSync, Shipping, Marketing, and Socials. The Release Creation
Tool can build a custom installer ZIP that omits those bundled modules.
## Security-sensitive integration behavior
- For client IPs used by maintenance-mode allow-lists, audit logs, and
IP-based protections, 8.2.8 corrects how `X-Forwarded-For` is read.
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 CSV export, CSV image-import, proxy IP, back-office list-filter, and
notification-permission fixes in 8.2.8 also apply in 9.1.5, the final
planned 9.1.x release. 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 it when generating
a download link. Attachment downloads are limited to files inside the
shop's download directory.
- In those two releases, Webservice keys can be used only in the shops
they are allowed to access; record access is limited to those shops too.
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.
See the security reference for archive extraction, theme imports,
translation uploads, mail template names, SVG validation, and other fixes.
## Runtime 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 console in 9.1.0 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
```
Shops can limit debug mode to requests carrying a specific cookie in 9.0.0.
In 9.2.1, the debug cookie name and value are validated before saving
the debug mode configuration.
## Admin API and module 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.0, the API adds a `discountType` endpoint and position updates,
and changes product-combination endpoints.
- Modules can react to enable, disable, and upgrade events and changes
made through `Configuration::updateValue()` in 9.1.0.
- Use `actionUpdateDefaultCombinationAfter` to react when a product's
default combination is set. The same release adds hooks for free-shipping
price calculation and extension points for storefront country and
currency selection.
- Module entity auto-mapping in 9.1.0 picks up entities in multiple
subdirectories under `src/Entity`. In 9.1.5, automatic cleanup also removes
nested `index.php` placeholders there.
- 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 in 9.0.0
that developers can use to access services.
## Theme development and storefront 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 needing the
distribution's default theme can call `Theme::getDefaultTheme()`.
Theme activation can unhook designated modules.
- PrestaShop 9.2.0 uses Hummingbird 2.1.2 as its Composer dependency.
Use that version when testing storefront compatibility against the release.
- The 9.1.5 package omits Hummingbird's development files. Use the theme's
development sources when rebuilding assets.
- The storefront supports WebP and AVIF natively in 9.0.0. Categories,
manufacturers, suppliers, and stores render through Presenters.
- In 9.1.5, storefront templates can use core-supplied price variants
directly for display. `Image::getCover()` resolves the cover within the
current shop; back-office product and combination cover URLs use
`small_default`.
## 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.
- In 9.0.0, 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.
Filtered product listing pages are excluded from indexing in 9.0.0.
- In 9.1.0, storefront search accepts special characters in queries, and
Ajax controllers are marked `noindex`.
- In 9.1.5, **Schema of URLs** settings can be saved per shop in multistore.
CMS page, CMS category, manufacturer, and supplier URLs omit the meta title;
product URLs omit an empty EAN-13 segment. Search indexing preserves word
boundaries when stripping HTML from indexable content.
## Checkout and order behavior
- Shoppers can check out as guests even if they already have a customer
account in 9.0.0. Staff can create guest customers in the back office
for manual orders.
- In 9.1.0, cart and order flows check that the selected country is enabled.
Multistore storefront country lists include only countries served by
active carriers.
- A cart discount is labeled as free shipping only when it grants it;
a zero reduction amount alone does not trigger the label in 9.1.0.
- Moving an order to a paid status records a payment even with invoicing
disabled in 9.1.0. The back-office order summary always shows the tax total.
- 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.
## Experimental shipments and discounts
In 9.1.0, enable multi-carrier shipping or redesigned discounts under
**Advanced Parameters > New & Experimental Features** for testing outside
production.
Experimental multi-carrier shipping lets one order contain shipments with
different carriers. Staff can change a shipment's carrier, merge shipments,
or split shipments that have no tracking number.
In the experimental discount system, Catalog, Cart, Free Shipping, and
Free Gift discounts replace legacy cart rules, with priorities, validity
dates, usage and eligibility limits, and automatic or promo-code application.
Conditions can combine products and specific combinations, categories,
brands, suppliers, countries, attributes, and features. 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 the discount status on the edit page.
## Features introduced in the beta
The PrestaShop 9.2 beta introduces Extra Properties: native custom fields
for any entity without requiring overrides, with multistore and multilingual
data across the back office, storefront, and Admin API.
The same 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.