Need to modify the order status rule’s time restriction

Top WooCommerce & WordPress Plugins Forums Order Status Rules for WooCommerce Need to modify the order status rule’s time restriction

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #85530
    Sourojit
    Participant

    Hi,

    Purchased the Pro version. However, need to tweak it a bit. Instead of a minimum of 1 Hour, I need my Completed orders to change to a custom status after 1 minute of completion. So please help me with How to modify the time restriction.

    Thank You

    #85531
    Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    Let me try to add it to the plugin. Will get back to you soon.

    #85532
    Sourojit
    Participant

    Hi Tom,

    Thanks. As a temporary workaround on the Demo site, though I am not a coder, I found the place of the time code and changed it to .0083 which is 30 seconds. I have set a server cron via URL that runs every 1 minute. I tested it and it works fine.

    However, it will be great for all users in general, if you can add the flexibility to add the trigger for seconds/minutes/hours on the plugin settings interface.

    Will perform more tests and will let you know if I come across any issues.

    Eagerly waiting for the update 🙂

    Thank You.

    #85533
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Sourojit,

    I’ve just replied to you via email (with the newest development version 1.4.0 zip attached), but just in case, I’m also replying here.

    There are two new options:

    1. I’ve added “unit” options for each “rule” – this way you can now set “minutes” for some (or all) of your rules. Available unit values are: seconds, minutes, hours (default), days, weeks.

    2. I’ve also added “WP cron interval” option, but as you are using server crons, this option is not really important for you. If anyone else is interested, available WP cron interval values are: every minute, every 15 minutes, every 30 minutes, hourly (default), twice daily, daily, weekly.

    Please give it a try and let me know what you think.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.