WooCommerce 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 WooCommerce section of this site: versions, release cadence, the L-1 and security backport policies and the WordPress, PHP and database requirements; installation with WP-CLI, Docker, wp-env and the Playground CLI; the extension skeleton with its header fields and the HPOS and blocks compatibility declarations; the classic hooks and their block replacements; CRUD objects, HPOS rules and Action Scheduler; the Additional Checkout Fields and Store API skeletons; block payment method registration; block and classic theme files; REST v3 authentication and webhooks; the wp wc commands; caching exclusions; and a security checklist. It reflects WooCommerce 11.2.1 on WordPress 7.1.3, 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:

Extensions and admin — Extension Development and Settings and Admin Pages.

Themes and emails — Themes: Block and Classic and Emails.

APIs and tooling — REST API and Webhooks, WC-CLI, and Analytics.

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

Cloud deployment

The summary printed in the PDF for running WooCommerce 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 MariaDB 11.8 or MySQL 8.4 sized from orders, not page views; HPOS on and compatibility mode off after wp wc hpos verify_data; clean woocommerce_sessions; checkout always reads the writer, never a replica.

State placement

Media on S3 behind CloudFront; object cache on Valkey; sessions in the woocommerce_sessions table; CloudFront bypasses cart, checkout, account, Store API, wc-ajax and wc-api; payment webhooks reach any pod and must be idempotent; extensions only through the image.

Cron

DISABLE_WP_CRON true plus one CronJob for WP-Cron; Action Scheduler async runner off (action_scheduler_allow_async_request_runner false) and a worker Deployment looping wp action-scheduler run, scaled by KEDA on pending actions.

Release steps

Pre-upgrade Job runs wp wc update once with a migration database user (automatic update off through woocommerce_enable_auto_update_db), rolling update, RDS snapshot before; freeze calendar for peak season.

Key commands

wp wc hpos status, wp action-scheduler status, wp wc update, wp wc webhook list, wp maintenance-mode activate, helm upgrade pocketcoffee ./pocketcoffee-woocommerce.