PrestaShop Cheat Sheet

This content was generated with the assistance of AI and should be verified against the official documentation of each platform before being relied on in production.

This section’s bibliography lists the reference material consulted while preparing these pages.

A single-page, colour-coded summary of the PrestaShop subsection: the supported versions with the PHP and Symfony matrix, the install and Docker variables, the module skeleton (main class, install and uninstall, hooks and the upgrade script), the common hooks, the service and route files with an admin controller skeleton, the CQRS command and query buses, the ObjectModel and Db safety rules, the theme files and theme.yml, the Webservice and Admin API calls, the bin/console and cache commands and a security hardening checklist. It reflects PrestaShop 9.2.0 (released 2026-09-30) and the 8.2.8 extended-support release, checked on 2026-10-27, and is available as a downloadable PDF. A "Cloud deployment" block summarises the database, state placement, cron, release steps and key commands for the cloud deployment pages (checked on 2026-10-29).

For the full explanation, every option, and additional examples, see the dedicated pages:

APIs and tooling — Webservice API, Admin API, and CLI Commands.

Operations and quality — Performance and Caching, Security, and Testing, Upgrades and Addons.

Cheat Sheet (PDF) — Cheat Sheet (PDF).

Cloud deployment

The summary printed in the PDF for running PrestaShop on many pods in the cloud on Amazon EKS (checked on 2026-10-29); each row is explained on the pages above.

Topic Rule

Database

RDS for MySQL 8.4 (Aurora MySQL 3); parameters.php reads the environment; TLS through a DbPDO override; separate migration user; checked on PrestaShop 9.2.0 and 8.2.8.

State placement

Shared EFS for img/, upload/, download/ and the theme settings; var/cache and var/logs per pod; sessions in Valkey (session.save_path); SQL cache on Memcached (CacheMemcached); PS_SMARTY_LOCAL 1; the same cookie keys on every pod; admin folder renamed at build; code and modules baked into the image.

Cron

One CronJob (pocketcoffee-cron, concurrencyPolicy: Forbid) calling module cron URLs or bin/console commands; web pods schedule nothing.

Release steps

Pre-upgrade Job pocketcoffee-migrate: prestashop:module upgrade <name>; a core upgrade is an image rebuild plus a database upgrade; cache:warmup --env=prod per pod; maintenance mode; RDS snapshot first.

Key commands

php bin/console prestashop:config get PS_SSL_ENABLED --env=prod, prestashop:module:list, cache:warmup --env=prod, kubectl -n pocketcoffee rollout status deployment/pocketcoffee-web, helm upgrade pocketcoffee ./pocketcoffee-prestashop.