Codeinwp / Codeinwp/woocommerce-product-addon
Add admin notice when WC version exceeds PPOM tested version
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 15
- Forks
- 9
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 16
Description
Problem
PPOM doesn't warn users when they're running an untested WC version. Users experience cart/checkout issues after WC updates and churn silently — 16 users with 25 combined years of tenure left in one month without contacting support.
Solution
Add ppom_health_check_notices() to admin_notices hook. Compares WC_VERSION against PPOM's WC tested up to header. Shows dismissible warning with support link when mismatch detected.
Files Affected
inc/admin.php— newppom_health_check_notices()functionclasses/plugin.class.php— hook registration
Acceptance Criteria
- Notice appears when WC version > tested-up-to
- Notice does NOT appear when WC version <= tested-up-to
- Notice is dismissible
- Only shown to users with
manage_woocommercecapability
Priority: Critical — prevents silent churn
Regression risk: Isolated — admin-only, no frontend impact
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in inc/admin.php and inspect the existing admin notice patterns, then check classes/plugin.class.php for hook registration. Verify the version comparison against the plugin header and WooCommerce version, and confirm the notice is dismissible and restricted to users with manage_woocommerce capability.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100