Codeinwp / Codeinwp/woocommerce-product-addon

Add admin notice when WC version exceeds PPOM tested version

Open
#545 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

new feature small
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 — new ppom_health_check_notices() function
  • classes/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_woocommerce capability

Priority: Critical — prevents silent churn
Regression risk: Isolated — admin-only, no frontend impact

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.