Create Limits on multiple Timeframes

Forums Maximum Products per User for WooCommerce Create Limits on multiple Timeframes

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #169245
    Dan
    Participant

    Hey I am having a specific problem.

    In my country there is a law limiting the sale of a product we offer. To make an example I’ll call it “Bananas”.

    Its allowed to buy 50 Bananas a month per user but not more than 10 Bananas per day per user.

    Achieving the limits is easy by setting the limits perTag or Category. But how can I have more than one date range or a date range per category/tag?

    I tried to achieve this with your order min/max plugin, which is basically working BUT can easily be bypassed by just placing another order on that day.

    Kindly

    #169707
    Taha
    Moderator
    Plugin Support

    Hi Dan,

    Thank you for reaching out — I hope you’re doing well. Apologies for the delayed response and for not addressing your question earlier.

    After reviewing your case, it’s not possible to apply both daily and monthly timeframes at the same time, the plugin supports only one timeframe, depending on the global restriction you want to enforce.

    I also tested a possible workaround using our two plugins — Maximum Products per User and Order Amount Limits — but unfortunately, this is not a solid solution. Still, here’s what I found:

    If the monthly restriction is the main priority (which I believe it is), then you can configure the plugin as follows:

    • Enable the plugin.
    • Set the mode to Product Quantities.
    • Set the Date Range to This Month.
    • Enable the restriction per Product/Category/Tag, and set the limit to 50.
    • If you want to include guest users, make sure to adjust the related settings under the “Guests” tab.

    This setup will prevent users from purchasing more than 50 units in total for the selected items each month. The plugin will reset the limit automatically at the start of each month.

    Optional Daily Restriction (Not Ideal)
    If you’re also aiming to limit daily purchases, you could try using the Order Minimum/Maximum Amount for WooCommerce plugin. However, this is not a perfect solution, since users will still be able to place multiple orders in a day until they hit the monthly cap.
    Here’s what I suggest:

    • In the Order Amount Limits plugin, set the Amount Type to Maximum Quantity.
    • In the free version, the limit applies to all products — the pro version allows per-product settings.
    • Set the limit to 10, so each individual order must be 10 items or fewer.
    • You can customize the restriction message to explain your desired behavior to users.

    While this setup doesn’t strictly enforce a daily limit, it helps encourage smaller, controlled purchases.

    Additional Notes

    I’ve tested the configuration described above — you can view the demo in this video: https://mega.nz/file/CYwTBYBA#pwilDKfcQGbb3sEGbmarwWKonaoWEgSIK2ewWn9FIIU.

    As for your note about viewing usage data, you’re absolutely right — we currently don’t offer a separate page to view that information. However, I agree it’s an important feature, and I’ve already requested it from our development team. Hopefully, it will be included in a future update.

    Thanks again for your patience, and please let me know if you have any further questions or need help setting this up.

    Best regards,
    WPFactory Support Team

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