Support » Plugin: Limit Orders for WooCommerce » Not working (during try)

  • attrapantho

    (@attrapantho)


    Hey,

    WordPress 5.5.1
    WooCommerce 4.5.2
    I use Divi Theme

    To try the operation I have blocked automactically only one command per day.
    As I am in a staging environment, I can pay by check to activate, the order arrives in “Pending”.
    However after processing this “In progress” I can always order beyond the limit indicated.

    My settings :
    https://www.pixenli.com/image/ZpUfDz3x

    ### Limit Orders ###
    
    Enabled: ✔
    Limit: 1
    Submitted orders: 4
    Remaining orders: 0
    Interval: daily
    Interval start: 2020-09-15T00:00:00+02:00
    Interval resets: 2020-09-16T00:00:00+02:00
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Steve Grunwell

    (@stevegrunwell)

    Hi @attrapantho,

    I’m digging through the codebase right now and it doesn’t look like Limit Orders nor WooCommerce are applying default order status constraints on queries (like how WP_Query defaults to post_status = 'publish'). It may be worth checking your codebase to see if there’s anything hooked onto either the “woocommerce_order_query_args” or “woocommerce_order_query” filters.

    The other possibility is that you’re running into the same issue noted here; when your order updates from “Pending” to “In Progress”, WooCommerce clears the caches related to that order.

    I’m currently working on that issue here and expect to have a new release this week.

    Thank you for reaching out!

    Plugin Author Steve Grunwell

    (@stevegrunwell)

    Hey @attrapantho,

    I wanted to let you know that we just tagged version 1.3.1 of Limit Orders for WooCommerce, which should resolve the issues you’ve been seeing. The update should be available within WP Admin shortly.

    Thank you for your bug report, and please feel free to reach out if you continue to run into issues!

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