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 Woocommerce Knowledge Patch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nevaberry-woocommerce-knowledge-patch)
---
name: woocommerce-knowledge-patch
description: WooCommerce
version: null
license: MIT
metadata:
author: Nevaberry
---
# WooCommerce knowledge patch
Load this skill when upgrading WooCommerce or maintaining integrations with
storefront blocks, checkout, APIs, orders, inventory, shipping, payments,
email, or Analytics. The references contain the full guidance, release
qualifications, examples, and source links for each topic.
## Reference index
| Reference | Topics |
| --- | --- |
| [Core and Storefront](references/core-and-storefront.md) | Runtime and database updates; editor and theme migrations; admin settings; product collections and galleries; cart, checkout, and sessions; product/customer APIs; MCP and GraphQL; email and Analytics |
| [Orders and Inventory](references/orders-and-inventory.md) | Stock and order lifecycle; item deletion; order APIs and refunds; guest orders and withdrawals; fulfillments; HPOS, caches, and indexes; shipping and tax |
| [Payments and Subscriptions](references/payments-and-subscriptions.md) | Payment settings; WooPayments; Direct Bank Transfer; PayPal callbacks; Stripe and Subscriptions updates; coupons and currency |
## Breaking changes and deprecations
- WooCommerce 10.8 requires WordPress 6.9 or later.
- WooCommerce 11.0 completes the Product Editor Beta deprecation. Move
integrations that depend on the beta editor to the classic product editor.
- Remove dependencies on `__experimentalWooProductFieldItem`,
`__experimentalWooProductSectionItem`, `__experimentalWooProductTabItem`,
`__experimentalProductSectionLayout`, and `__experimentalProductFieldSection`
from `@woocommerce/components`.
- Replace deprecated `wc_current_theme_is_fse_theme()` with WordPress core's
`wp_is_block_theme()`.
- Admin scripts reading `wcSettings.admin.onboarding` must stop relying on the
removed `euCountries` and `local_Info` keys.
- For affected retired WooCommerce Admin flags, `Features::is_enabled()` and
`window.wcAdminFeatures` return compatibility values and emit deprecation
warnings. Remove extension gates that rely on those flags.
- The React Payments screen is standard for all stores. Remove
`reactify-classic-payments-settings` overrides from
`woocommerce_admin_get_feature_config` because the flag was removed.
- Declare WooCommerce script dependencies explicitly with the new `wc-`
handles, such as `wc-accounting` and `wc-jquery-payment`.
- With the WordPress Core Breadcrumbs block, the second argument to
`woocommerce_get_breadcrumb` can be `null`. Check it before calling methods
on the breadcrumb object.
- WooCommerce skips block type and pattern registration on requests that
cannot render or edit blocks, including Store API and REST requests.
Extensions rendering blocks on these requests can opt back in:
```php
add_filter( 'woocommerce_should_register_blocks', '__return_true' );
```
- Upgrading to WooCommerce 10.4 switches existing Mini Cart blocks to the
Interactivity API implementation in development and production. Test
extensions that customize Mini Cart behavior against it.
- The `wc-admin` and `wc-analytics` REST namespaces load on demand. Extensions
relying on their controllers on every REST request should test this behavior.
- WooCommerce 11.2 changes product save and reorder lifecycle hooks. Test
extensions that rely on callbacks during either operation before upgrading.
- WooCommerce 11.3 changes how MCP clients connect to stores. Follow the
[migration guide](https://developer.woocommerce.com/2026/10/21/woocommerce-11-3-mcp/)
when updating an existing connection.
## Order lifecycle and API compatibility
- REST order line-item edits automatically adjust stock for orders in
`processing`, `on-hold`, or `completed`. Take this into account if the
integration also adjusts stock for those edits.
- In WooCommerce 11.0, moving an order to `failed` restores stock reduced for
that order. Review custom stock-restoration logic on this transition.
- WooCommerce 11.0.0 changes the timing of `woocommerce_removed_order_items`:
database deletion is deferred until the order's `save()`. Review callbacks
that depend on when deletion is persisted.
- `WC_Abstract_Order::remove_order_items()` records the IDs present when
removal is requested, allowing replacements added before `$order->save()`
to survive. Custom order data stores should review `get_item_ids()` and
`delete_items_by_ids()`.
- Starting with WooCommerce 11.0.0, the order editor discards reserved order
item meta keys entered through **Add meta** when saving. Update workflows
that rely on entering those keys there.
- For new sessions, the Store API creates persisted draft orders later in
checkout, closer to placement. Extensions looking up drafts should handle
checkout having started without a persisted draft yet.
- Order queries with default `status=any` omit checkout drafts. Request
`status=checkout-draft` explicitly when an integration needs them.
- `PUT /wc/v2/orders/{id}` and `PUT /wc/v3/orders/{id}` reject updates when
the ID refers to a record whose type differs from `shop_order`.
- `wc/v3/orders/<id>/actions/send_order_details` rejects an `email` parameter
that differs from the billing email already on the order.
- WooCommerce 11.3 validates REST API refund allocations. Test the allocation
payloads your integration sends before upgrading.
- Store API product and product review collections require `per_page` of at
least `1`. Replace `per_page=0` with a positive size and fetch remaining
pages using `page`.
- The v4 Products REST API omits download details, cost of goods sold, and
purchase notes for callers without product management capabilities.
## Security and update behavior
- Use the latest core release for security updates; the release index
considers only the latest version fully secure.
- WooCommerce 8.1 through 10.4.2 can expose guest order details to authenticated
users through the Store API. Upgrade to 10.4.3 or later for the fix.
- WooCommerce 10.5.3 closes a Store API batch nonce-check bypass by validating
the parsed URL path and restricting subrequests to `/wc/store` routes.
Update to 10.5.3 for the fix on the 10.5 release line.
- Update Stripe for WooCommerce for the August 6, 2026 security fix. Its
July 14, 2026 patch fixes a payment-validation issue affecting some stores
using Adaptive Pricing. Update the extension on stores using that feature.
- Update WooCommerce Subscriptions to 9.1.0 on production and staging sites.
- Database updates and migrations run in the background by default on all
stores. Return `false` from `woocommerce_enable_auto_update_db` to opt out:
```php
add_filter( 'woocommerce_enable_auto_update_db', '__return_false' );
```
## Checkout, shipping, and fulfillment
- Additional Checkout Fields support required checkboxes with custom errors.
JSON Schema conditions in PHP can make fields required based on cart,
order, or customer data. Checkout omits fields hidden by a rule from submission.
- The Store API can evaluate experimental rules hiding additional checkout
fields. Both the Store API and frontend forms can evaluate experimental
validation rules for those fields.
- Set `description` and `delivery_time` on each `WC_Shipping_Rate` through
`woocommerce_package_rates`. The Cart and Checkout blocks' shipping selector
can display both fields; the Cart block sidebar displays delivery time.
- The Cart block removes the shipping calculator. Shoppers enter an address
for rates or choose available Local Pickup at checkout; the cart can display
a shipping rate already selected.
- Enable the built-in shipping setting to hide other rates when free shipping
is available.
- Return `true` from `woocommerce_shipping_prices_include_tax` to treat
configured shipping prices as tax-inclusive and keep the total shipping
charge fixed across VAT rates. A custom callback can use customer location.
- When Store API checkout rate limiting is enabled, only checkout `POST`
requests count toward it. Payment method switches and checkout data updates use `PUT`.
- The Store API and block Cart and Checkout accept fractional quantities when
an extension enables them. Classic quantity input hooks such as
`woocommerce_quantity_input_args` work for classic and block-based carts.
- Shareable `/checkout-link/` URLs accept comma-separated `ID:quantity` pairs
in `products`, using variation IDs for specific variations, plus an optional
`coupon`. Opening the link adds items, applies the coupon, and redirects:
```text
https://example.com/checkout-link/?products=123:2,456:1&coupon=SPRING10
```
- Order Fulfillments is beta. Enable it with WP-CLI to track shipments, split
orders across fulfillments, and send shipping updates. Draft status prepares
a shipment without sending a notification:
```bash
wp option update woocommerce_feature_fulfillments_enabled yes
```
- Beta Fulfillments imports use
`Automattic\WooCommerce\Admin\Features\Fulfillments`. The order reference
contains typed tracking methods, custom data stores, and provider settings.
## Catalog blocks and product integrations
- Place Product Filters inside Product Collection to filter without page
reloads. Filters appear in a modal on mobile.
- Third-party blocks supporting Product Collection client-side navigation can
opt in with `supports.interactivity.clientNavigation` in `block.json`.
- Changing **Order by** on a Product Collection with query type **Default**
affects every Product Collection using the default query.
- Existing soft-deprecated Cart Cross-Sells blocks can use **Transform** to
switch to Product Collection's Cross-Sells collection.
- The Product Image block lazy-loads images by default. Override its loading attribute
with `woocommerce_product_image_loading_attr`.
- Native variation image galleries are enabled for every store. The Additional
Variation Images extension is being retired, and the experimental toggle is
gone; the database update enables galleries even for previous opt-outs.
- **Product gallery videos** is a beta experiment disabled by default. Enable
it under **WooCommerce → Settings → Advanced → Features** to use locally
uploaded videos in classic and block-based product galleries.
- The On-Sale Badge can display a discount amount, percentage, or custom text
using block-editor settings and built-in styling controls.
## Email, Analytics, and store operations
- New installations enable modernized email templates by default. The Emails
settings page shows previews even when Email Improvements is disabled.
Automatic opt-in for existing stores was paused in 9.9.4: remaining stores
receive a manual prompt and already opted-in stores keep the new templates.
- **Customer Review Request** is opt-in. Configure its delay under
**WooCommerce → Settings → Emails**; Action Scheduler queues it after order
completion and cancels it if the order is cancelled, refunded, or trashed.
- In the email editor's Coupon Code block, auto-generation creates a unique
code per recipient when sent, with the selected discount type, amount, and expiry.
- **WooCommerce → Status → Logs** shows transactional email send attempts,
success, and any available local failure details.
- Abandoned Cart emails and the new Settings UI are experimental features.
- Background Analytics export jobs receive currency and custom filters from the report
URL query. Export column and row filters customize individual report types.
- Enable stable core **Cost of Goods Sold** to track product and order costs;
cost data is exposed through REST and programmatic APIs.
- Import/export core settings through **WooCommerce → Settings → Advanced →
Blueprints** or WP-CLI. Use existing data import/export tools for products,
orders, and customers.
- The opt-in order withdrawal form logs requests and notifies merchants by
email and in the dashboard. Merchants handle withdrawals and refunds manually.
- Extensions can expose read-only MCP abilities for data such as subscriptions,
payment account details, shipping rules, and gift cards. Code and GraphQL
APIs include an externally usable GraphQL engine and an Advanced settings
toggle for its GET endpoint.