• Resolved kazam567

    (@kazam567)


    Bonjour,

    Suite à l’installation de votre plugin qui m’est très utile je me retrouve face à un soucis…

    Les règles s’applique bien lorsque je les exécutes manuellement mais elles ne fonctionnent pas de manière automatique.

    Avez-vous une solution à ce problème ?

    Je vous remercie par avance pour votre retour.

    Cordialement

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi kazam567,

    Thank you for reaching out and for using our plugin.

    Based on your description, the rules work correctly when run manually, but do not execute automatically. Here are the key steps to ensure automatic execution works:

    1. Time Trigger:
      • Make sure the Time trigger inside each rule is set correctly (e.g., 1 hour, 24 hours, etc.).
      • If the trigger is misconfigured, the automatic execution won’t run.
    2. Rule Conditions:
      • Check that the rule is not restricted by conditions that prevent execution, such as specific products, categories, amounts, countries, or shipping/payment methods.
      • Ensure the orders actually meet these conditions.
    3. Plugin Activation:
      • Confirm that Order Status Rules Enable plugin is activated.
    4. Periodic Processing Options:
      • Enable Use WP Cron and/or Use Action Scheduler in the plugin settings.
      • Action Scheduler has a built-in admin screen where you can monitor scheduled actions and manually trigger them via the alg_wc_order_status_rules_process_rules_as hook.
    5. Testing:
      • Use the Run all rules now button to verify that rules work as expected manually before relying on automatic execution.
    6. Alternative Server Cron:
      • If WP Cron is not reliable (depends on site visits), you can enable Allow rules processing via URL and set up a real server cron job to call the URL periodically.
    7. Debugging:
      • Enable Debug mode in plugin settings to log all rule executions. This helps identify why a rule might not be running automatically.

    Following these steps should resolve the issue. If the problem persists after checking all the above, please provide:

    • Your WordPress version
    • Plugin version
    • Any caching/security plugins active

    This will help us investigate further.

    Best regards,

    Thread Starter kazam567

    (@kazam567)

    Bonjour,

    Je vous remercie pour votre réponse très complète et tous vos conseils, cela m’a permis de résoudre mon problème.

    Cordialement

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Exécution automatique des règles impossible’ is closed to new replies.