View Categories

Min/Max Rules Troubleshooting & Best Practices

Table of Contents

Problem Description #

General situations where the plugin seems not to work (no enforcement, inconsistent behavior, unexpected checkout acceptance) and store owner needs a structured checklist to debug the problem.

Quick Checklist (step-by-step verification)

  1. Check plugin & environment versions: Ensure the plugin is updated, and WordPress + WooCommerce + PHP are within supported versions. WPFactory+1
  2. Verify plugin settings: Confirm that min/max rules are defined, enabled, and correctly scoped (cart, product, role, shipping method, etc.).
  3. Test with default theme and minimal plugins: Temporarily switch to a default theme (e.g., Storefront) and disable all other plugins except WooCommerce + Order Min/Max, then test add-to-cart and checkout.
  4. Test classic add-to-cart instead of AJAX / quick-add: If your theme uses AJAX add-to-cart, test classic add-to-cart to see if rules enforce.
  5. Clear cache & disable caching/optimization plugins: Some caching plugins or CDNs may cache cart/checkout pages, bypassing dynamic validation.
  6. If you have custom shipping/pickup methods, coupons, or third-party checkout/shipping/payment plugins, include them in testing flows: These often interfere with min/max logic.
  7. Enable debugging (on staging): Turn on WP_DEBUG and check PHP error log; open browser console to detect JS errors.
  8. If problem persists: Contact plugin support with detailed environment info (WP, WC, PHP versions, theme, other plugins, shipping/payment methods, user role conditions, etc.).

Prerequisites

  • Access to admin, FTP, or hosting control panel, depending on issue severity.
  • A staging environment (recommended) to test changes safely.

Additional Notes

  • Always backup site and database before major updates (plugin, theme, core).
  • When using complex rule combinations, document your logic (rule definitions, priority) to avoid conflicts.
  • Use incremental testing, start simple, then add complexity (roles, categories, shipping).

 

Order Minimum/Maximum Limits for WooCommerce