wcs-subscription-plans-apfs

Installation
SKILL.md

WooCommerce Subscriptions: APFS subscription plans

Use this when integrating with WooCommerce Subscriptions 9.0+ Subscription Plans, formerly the separate All Products for Subscriptions plugin.

Misconception this skill corrects

"All Products for Subscriptions was merged into WooCommerce core, so normal products are now subscription products."

Incorrect. In 9.0.0 the feature is bundled into WooCommerce Subscriptions, not WooCommerce core. WCS loads the APFS subsystem from includes/apfs and exposes the legacy WCS_ATT() global for compatibility. If the standalone All Products for Subscriptions plugin is active or being activated, WCS does not load the bundled subsystem.

When to use this skill

Trigger when ANY of the following is true:

  • The task mentions All Products for Subscriptions, APFS, SATT, Subscription Plans, storewide plans, product plans, purchase options, or "sell any product as subscription".
  • Code reads or writes _wcsatt_schemes_status, _wcsatt_schemes, _wcsatt_storewide_selection_mode, _wcsatt_selected_storewide_plans, _wcsatt_force_subscription, _wcsatt_disabled, _wcsatt_scheme, or wcsatt_subscribe_to_cart_schemes.
  • A simple/variable/variation product must behave like a subscription without using the subscription or variable-subscription product type.
  • A headless/cart integration must preserve the selected subscription plan.
  • You see WCS_ATT, WCS_ATT_Product, WCS_ATT_Product_Schemes, WCS_ATT_Cart, WCS_ATT_Order, wcsatt_, convert_to_sub, or woocommerce_is_subscription.
Installs
1
GitHub Stars
22
First Seen
Today
wcs-subscription-plans-apfs — lonsdale201/wp-agent-skills