WooCommerce
woo-scheduled-sale-state-audit
Audit WooCommerce scheduled sale state
Find why scheduled sales show, charge or list the wrong price, then plan fixes through WooCommerce's own functions.
- Area
- WooCommerce
- Checked against
- WooCommerce 11.1.2, Action Scheduler 4.0.0, WordPress 7.1.2
- Last verified
- 29 September 2026
- Files
- SKILL.md, 9 references, 3 scripts
How it works
- 1Record versions, timezone, queue state, cache type and affected product data.
- 2Pin down the expected price, time, timezone and place where the problem appeared.
- 3Compare stored sale data with WooCommerce's rules at the audit time.
- 4Check per-product events, the daily action and the queue for delays or failures.
- 5Inspect variable parents, lookup rows, transients and page-cache behavior.
- 6Write findings and an ordered fix plan with backup, check and undo steps.
- 7Apply one approved change, re-run the audit and report the result.
Use it when
- A scheduled sale starts or ends at the wrong time.
- Product pages, sorting, filters or feeds disagree on price.
- A variable product shows the wrong range or sale badge.
- The daily sales action runs long, fails or times out.
How it stays safe
- Reads and compares by default before proposing any change.
- Backs up before each approved change and keeps backups outside the web root.
- Uses WooCommerce functions for fixes so related state stays in step.
- Tests one product first, then applies only the approved batch.
Install it
Copy the whole woo-scheduled-sale-state-audit folder into your agent's skills folder, not only SKILL.md.
git clone --depth 1 https://github.com/hamzaahmadaslam/agent-skills.git
cp -R agent-skills/woo-scheduled-sale-state-audit "<your agent's skills folder>/"