Codeinwp / Codeinwp/woocommerce-product-addon
Add proactive compatibility warnings for known conflicting plugins
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 15
- Forks
- 9
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 16
Description
Problem
Users report plugin conflicts without knowing which plugin causes the issue. PPOM has documented conflicts with Checkout Field Editor (#472), Woo Discount Rules (#426), and WooCommerce Product Bundles, but doesn't warn users proactively.
Solution
Add ppom_compatibility_check_notices() — checks get_option('active_plugins') against a known conflicts array. Shows dismissible admin notice with plugin name, issue description, and docs link.
Known conflicts to detect:
- Checkout Field Editor and Manager for WooCommerce — may duplicate/override PPOM fields at checkout
- Woo Discount Rules — may miscalculate totals when addon prices are active
- WooCommerce Product Bundles — PPOM fields may not render inside bundled products
Files Affected
inc/admin.php— newppom_compatibility_check_notices()functionclasses/plugin.class.php— hook registration
Acceptance Criteria
- Notice appears when a known conflicting plugin is active
- Notice links to relevant documentation
- Notice is dismissible
- No performance impact (checks cached active_plugins option)
Priority: Medium
Regression risk: Isolated — admin-only
Related: #472, #426
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 classes/plugin.class.php to see how admin hooks are registered. Add the compatibility notice flow for the three listed plugins, then verify that active plugins trigger dismissible notices with issue descriptions and documentation links without extra active-plugin lookups.
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
- 74/100