Wc Coupon Dynamic

Build or audit WooCommerce virtual coupons resolved at runtime without a `shop_coupon` row. Covers `woocommerce_get_shop_coupon_data`, the `read_manual_coupon()` data contract, reserved code namespaces and resolver precedence, database-fallback collisions, request caching, Store API and classic checkout behavior, validation, external atomic usage accounting, order coupon snapshots, direct order application, deterministic recalculation, and security. Use for generated loyalty, referral, partner, campaign, or entitlement codes backed by an owned table/service, or when code calls these APIs. For persisted coupons, new discount-type math, or general coupon rules use `wc-coupon-types-rules`.

Lonsdale201 Updated

File contents

Lonsdale201/wp-agent-skills/tree/main/woocommerce/wc-coupon-dynamic commit 1e5a14bc33

Frequently asked questions

npx skillmds@latest add lonsdale201/wc-coupon-dynamic